mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
nginx service: Add missing port toString conversion (#20252)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
''}
|
||||
|
Loading…
Reference in New Issue
Block a user