安装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; }