In this tutorial, I will show you how to enable Nginx status page. The Nginx status page is a feature that provides real-time information about the performance and health of an Nginx web server. To enable the Nginx status page, you need to modify your Nginx configuration file and set up a location directive for the status page.

We have to check first whether with-http_stub_status_module module is compiled on Nginx or not by using the following command:

nginx -V 2>&1 | grep -o with-http_stub_status_module

If you see following result:

 Enable Nginx Status Page

It means we can go to next step.

Add following code inside your Nginx server {.....} block:

location /status {
    stub_status on;
    access_log off;
    deny all;

allow means the status page can be accessed only from So, you have to change it with your IP Address.

Don’t forget to restart your Nginx by using this command:

service nginx restart

Then access http://your-nginx-address/status, you will see result like the picture below.

 Enable Nginx Status Page