nginx module: improve statusPage generated code
Adds ::1 as allowed host and turns of access_log for the status page.
commita193fecf0ef3fb2d048981217d6de7a051212e44
authorRobin Gloster <mail@glob.in>
dateWed 27 Jul 2016, 13:49 (10 years ago)
parent3ccfca7
nixos/modules/services/web-servers/nginx/default.nix+2
@@ -84,7 +84,9 @@ let
8484
8585 location /nginx_status {
8686 stub_status on;
87+ access_log off;
8788 allow 127.0.0.1;
89+ allow ::1;
8890 deny all;
8991 }
9092 }