Sunday, December 20, 2009

Nginx查看Status设置



修改Nginx配置文件:

location ~ ^/NginxStatus/ {
      stub_status on; #Nginx 状态监控配置   


这样通过 http://localhost/NginxStatus/ (最后的/不能掉) 监控到 Nginx 的运行信息:

Active connections: 1
server accepts handled requests
 1 1 5
Reading: 0 Writing: 1 Waiting: 0

0 Comment(s):

Post a Comment