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.
Nginx – Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Nginx.
Tutorial NGINX – Configuration of http_stub_status_module
Install the Nginx server.
Verify if the Nginx http_stub_status module was installed.
Edit the Nginx default configuration file.
Here is the original file, before our configuration.
Here is the file with our configuration.
In our example, we configure the Nginx module named http_stub_status to allow only computers from the network 192.168.15.0/24 to access the server status page.
Restart the Nginx service.
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:
• http://192.168.15.11/basic_status
You will be sent to the Nginx server status page.
Congratulations! You sucessfully configured the Nginx status page.