Skip to content

Nginx server status vhost

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