nginx service: Add missing port toString conversion (#20252)
This commit is contained in:
committed by
Robin Gloster
parent
9cdfb33401
commit
632282300a
@@ -138,7 +138,7 @@ let
|
||||
server_name ${serverName} ${concatStringsSep " " vhost.serverAliases};
|
||||
${acmeLocation}
|
||||
location / {
|
||||
return 301 https://$host${optionalString (port != 443) ":${port}"}$request_uri;
|
||||
return 301 https://$host${optionalString (port != 443) ":${toString port}"}$request_uri;
|
||||
}
|
||||
}
|
||||
''}
|
||||
|
||||
Reference in New Issue
Block a user