Unverified Commit 1f1bc423 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

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

nixos/nginx: serve the status page on localhost servers
parents b90d93cb 2086b377
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -256,8 +256,6 @@ let

      ${proxyCachePathConfig}

      ${vhosts}

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

      ${vhosts}

      ${cfg.appendHttpConfig}
    }''}