By viewing the Nginx concurrent connections, we can clear the load of the website. There are two ways to view Nginx concurrency (the reason is that I only know two ways), one is through the web interface, the other is through the command, web view is more accurate than Command View. The following describes the two viewing methods No1. when viewing through a browser through the web interface, Nginx needs to enable the status module, that is, when installing Nginx, add & nbsp
By viewing the Nginx concurrent connections, we can clear the load of the website. There are two ways to view Nginx concurrency (the reason is that I only know two ways), one is through the web interface, the other is through the command, web view is more accurate than Command View. The following two viewing methods are described:
No1. view in a browser
Nginx needs to enable the status module when viewing through the web interface, that is to install Nginx with -- with-http_stub_status_module and then Configure Nginx. conf, add the following content in the server point
Location/status {
Stub_status on;
Access_log/usr/local/nginx/logs/status. log;
Auth_basic "NginxStatus ";}
After the configuration is complete, restart Nginx. then, you can access http: // localhost/status in the browser, as shown in figure