nginx module: improve statusPage generated code

Adds ::1 as allowed host and turns of access_log for the status page.
This commit is contained in:
Robin Gloster 2016-07-27 13:49:46 +00:00
parent 3ccfca7d6b
commit a193fecf0e

View File

@ -84,7 +84,9 @@ let
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
allow ::1;
deny all;
}
}