Nginx adds access monitoring (just learning and understanding)
1. Modify the nginx.conf configuration file by adding the following code: location / basic_status {stub_status on;}
two。 Restart nginxservice nginx restart
3. Visit www.nginx1.com:9527/basic_status, and the output information is as follows: 2 server accepts handled requests request_time 3 32 0Reading: 0 Writing: 1 Waiting: 1