cleaner nginx status monitoring configuration
This commit is contained in:
parent
b9f65f310e
commit
e06942c803
@ -363,9 +363,15 @@ http {
|
|||||||
listen 127.0.0.1:81;
|
listen 127.0.0.1:81;
|
||||||
listen [::1]:81;
|
listen [::1]:81;
|
||||||
|
|
||||||
location /nginx_status {
|
root /var/empty;
|
||||||
|
|
||||||
|
location = /nginx_status {
|
||||||
stub_status;
|
stub_status;
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user