nginx status page
Posted: Fri Jan 19, 2018 5:47 pm
I'm trying to access nginx status page.
I have this on /etc/nginx/conf.d/status.com
server {
listen 127.0.0.1:80 default;
server_name _;
server_name_in_redirect off;
location /nginx_status {
stub_status on;
access_log off;
}
}
When I try to access http://myserverip/nginx_status I get a 404 error.
What I have to do to access nginx status page?
Best regards.
I have this on /etc/nginx/conf.d/status.com
server {
listen 127.0.0.1:80 default;
server_name _;
server_name_in_redirect off;
location /nginx_status {
stub_status on;
access_log off;
}
}
When I try to access http://myserverip/nginx_status I get a 404 error.
What I have to do to access nginx status page?
Best regards.