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:
parent
3ccfca7d6b
commit
a193fecf0e
@ -84,7 +84,9 @@ let
|
|||||||
|
|
||||||
location /nginx_status {
|
location /nginx_status {
|
||||||
stub_status on;
|
stub_status on;
|
||||||
|
access_log off;
|
||||||
allow 127.0.0.1;
|
allow 127.0.0.1;
|
||||||
|
allow ::1;
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user