Don't expose the status module

It won't be accessible anyway: the localhost address is the one inside the container...
This commit is contained in:
Erik Huelsmann 2025-08-09 12:05:04 +02:00
parent df984c92ad
commit 1c001cf93a

View File

@ -40,15 +40,6 @@ http {
access_log /dev/stdout;
error_log /dev/stderr info;
# Don't log status polls
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
allow ::1;
deny all;
}
# Configuration files don't exist
location ^~ \.conf$ {
return 404;