参考文档
HTTP  stub_status  模块
http://nginx.org/en/docs/http/ngx_http_status_module.html



  1. server

  2.      {

  3.         listen 80;

  4.         server_name 127.0.0.1;

  5.         deny    all;

  6.         location /NginxStatus {

  7.                 stub_status on;

  8.                 allow 127.0.0.1;

  9.                 allow A;

  10.                 allow B;

  11.                 deny  all;

  12.                 }

  13.         access_log off;

  14.     }