From 1c001cf93a82d5c4540d825b20e12923ab7ea341 Mon Sep 17 00:00:00 2001 From: Erik Huelsmann Date: Sat, 9 Aug 2025 12:05:04 +0200 Subject: [PATCH] Don't expose the status module It won't be accessible anyway: the localhost address is the one inside the container... --- with-proxy/nginx.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/with-proxy/nginx.conf b/with-proxy/nginx.conf index ee08c18..f9e528d 100644 --- a/with-proxy/nginx.conf +++ b/with-proxy/nginx.conf @@ -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;