摘要:一、开启nginx的监控1)、nginx简单状态监控在nginx.conf中添加如下代码即可监控nginx当前的状态,然后访问http://serverip/status即可访问location /status {stub_status on;access_log off;}一般显示为Active connections: 16 server accepts handled requests191226 191226 305915 Reading: 0 Writing: 1 Waiting: 15 ctive connections: 对后端发起的活动连接数.Server accepts ha
阅读全文