From db112cc43250e80eb82761f9496364b3d4efe91c Mon Sep 17 00:00:00 2001 From: Axel Gabriel Calle Granda Date: Sun, 9 Mar 2025 14:53:26 +0000 Subject: [PATCH] Enabled ModSecurity in main location --- .docker/proxy/templates/default.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/proxy/templates/default.conf.template b/.docker/proxy/templates/default.conf.template index ac077935..c7868a8e 100644 --- a/.docker/proxy/templates/default.conf.template +++ b/.docker/proxy/templates/default.conf.template @@ -87,7 +87,7 @@ server { add_header Content-Security-Policy "base-uri 'none'; connect-src 'self'; default-src 'none'; form-action 'none'; frame-ancestors 'self'; img-src 'self'; object-src 'none'; script-src 'self'; style-src 'self';" always; add_header X-Download-Options "noopen" always; add_header X-Permitted-Cross-Domain-Policies "none" always; - modsecurity off; + modsecurity on; autoindex off; proxy_redirect off; proxy_pass http://${PROXIED_SERVER}:${PROXIED_PORT};