server { listen 127.0.0.1:8081; server_name localhost; location /status { stub_status on; access_log off; allow 127.0.0.1; deny all; } }