安装Nginx时加上        –with-http_stub_status_module 

在nginx.conf

server

location /nginx_status {
                stub_status on;
                access_log off;
                allow 113.106.106.98;
                deny all;
        }

 

posted on 2015-08-26 15:11  凌度  阅读(266)  评论(0编辑  收藏  举报