# # nginx health stub-site # server { listen 9000 default_server; server_name _; location /nginx_status { stub_status; # only permit local connections allow 127.0.0.1; deny all; } }