在nginx安装时添加

--with-http_stub_status_module

 

 

配置:

  进入nginx.conf

  新建一个location 模块

  location /status {

    stub_status on;

    access_log off;

    allow 174.16.10.110;

    deny all;

  }

  

 

posted on 2019-04-15 14:41  潇潇六月雨  阅读(153)  评论(0)    收藏  举报