Merge pull request #201329 from jqqqqqqqqqq/master
nixos/nginx: fix default listen port options
This commit is contained in:
commit
4ac2dbfec5
1 changed files with 2 additions and 2 deletions
|
@ -198,8 +198,8 @@ let
|
|||
|
||||
${optionalString cfg.statusPage ''
|
||||
server {
|
||||
listen ${cfg.defaultHTTPListenPort};
|
||||
${optionalString enableIPv6 "listen [::]:${cfg.defaultHTTPListenPort};" }
|
||||
listen ${toString cfg.defaultHTTPListenPort};
|
||||
${optionalString enableIPv6 "listen [::]:${toString cfg.defaultHTTPListenPort};" }
|
||||
|
||||
server_name localhost;
|
||||
|
||||
|
|
Loading…
Reference in a new issue