Merge pull request #228669 from sandydoo/fix/nginx-status-page

nixos/nginx: serve the status page on localhost servers
This commit is contained in:
Domen Kožar 2023-04-28 10:52:41 +02:00 committed by GitHub
commit 1f1bc4233e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,8 +256,6 @@ let
${proxyCachePathConfig}
${vhosts}
${optionalString cfg.statusPage ''
server {
listen ${toString cfg.defaultHTTPListenPort};
@ -275,6 +273,8 @@ let
}
''}
${vhosts}
${cfg.appendHttpConfig}
}''}