Get the App
SLTechnology News&Howtos  ›  Servers  › 

Nginx adds access monitoring (just learning and understanding)

Shulou Source: shulou.com Published: 2022-06-02 05:04:09 11月14日 Update

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

Tags: Code information files output configuration just learning monitoring Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Linux macOS MariaDB Microsoft