1. server {
  2. listen 127.0.0.1:8081;
  3. server_name localhost;
  4. location /status {
  5. stub_status on;
  6. access_log off;
  7. allow 127.0.0.1;
  8. deny all;
  9. }
  10. }