diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 6146e0b..50f1df4 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -142,9 +142,15 @@ http { listen 127.0.0.1:81; listen [::1]:81; - location /nginx_status { + root /var/empty; + + location = /nginx_status { stub_status; access_log off; } + + location / { + return 404; + } } }