Would you like to learn how to install and configure the Nginx module named http_stub_status_module? In this tutorial, we are going to show you how to enable the Nginx statistics page using the Nginx module named http_stub_status_module on a computer running Ubuntu Linux.

• Ubuntu 18
• Ubuntu 19
• Nginx 1.16.1

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Tutorial NGINX - Configuration of http_stub_status_module

Install the Nginx server.

Copy to Clipboard

Verify if the Nginx http_stub_status module was installed.

Copy to Clipboard

Edit the Nginx default configuration file.

Copy to Clipboard

Here is the original file, before our configuration.

Copy to Clipboard

Here is the file with our configuration.

Copy to Clipboard

In our example, we configure the Nginx module named http_stub_status to allow only computers from the network to access the server status page.

Restart the Nginx service.

Copy to Clipboard

On a computer located on the allowed network, open your browser and enter the IP address of your web server plus /basic_status.

In our example, the following URL was entered in the Browser:


You will be sent to the Nginx server status page.

ngins status page

Congratulations! You sucessfully configured the Nginx status page.