Vivek Kumar
Vivek Kumar

Reputation: 5050

Nginx Status Page

Does Nginx Status Page shows information all the sub-server blocks or just for that server in the location directive is embedded?

    location /nginx_status {
            stub_status on;
            access_log off;
            #allow 127.0.0.1;
            #deny all;
    }

Upvotes: 1

Views: 469

Answers (1)

Aleksey Deryagin
Aleksey Deryagin

Reputation: 2675

ngx_http_stub_status_module shows status information about whole nginx server application, not particular virtual host or location.

You can view source here.

Upvotes: 2

Related Questions