server { listen 8080; server_name status.example.internal; location = /nginx_status { stub_status; allow 127.0.0.1; allow ::1; allow 10.10.10.0/24; deny all; access_log off; } }