Merge pull request #201329 from jqqqqqqqqqq/master

nixos/nginx: fix default listen port options
This commit is contained in:
Pierre Bourdon 2022-11-15 17:57:51 +01:00 committed by GitHub
commit 4ac2dbfec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;