server {
        listen 80;
        server_name localhost;
        location /nginx-status {
                stub_status on;
                access_log  off;
                allow 127.0.0.1;
                allow ::1;
                deny  all;
        }
}