文件名称:Nginx状态监控-Nginx学习交流
文件大小:115KB
文件格式:PPT
更新时间:2024-05-13 13:38:41
Nginx
Nginx状态监控 查看是否存在 stub_status 模块 /usr/local/nginx/sbin/nginx -V (大写V) 编辑nginx配置 location /nginx_status { stub_status on; access_log off; allow SOME.IP.ADD.RESS; # 允许的ip地址 deny all; # 全部禁止 } 重启nginx 查看结果 http://192.168.100.249/nginx_status Active connections: 49 server accepts handled requests 81366863 81366863 82132214 Reading: 0 Writing: 1 Waiting: 48