cleaner nginx status monitoring configuration

This commit is contained in:
Daniel Micay 2021-06-22 23:43:32 -04:00
parent d4e4cca682
commit 1cf2da16c9

View File

@ -142,9 +142,15 @@ http {
listen 127.0.0.1:81;
listen [::1]:81;
location /nginx_status {
root /var/empty;
location = /nginx_status {
stub_status;
access_log off;
}
location / {
return 404;
}
}
}