We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98170bd commit fb80e6dCopy full SHA for fb80e6d
rootfs/etc/nginx/template/nginx.tmpl
@@ -710,6 +710,11 @@ http {
710
711
# default server, used for NGINX healthcheck and access to nginx stats
712
server {
713
+ # Ensure that modsecurity will not run on an internal location as this is not accessible from outside
714
+ {{ if $all.Cfg.EnableModsecurity }}
715
+ modsecurity off;
716
+ {{ end }}
717
+
718
listen 127.0.0.1:{{ .StatusPort }};
719
set $proxy_upstream_name "internal";
720
0 commit comments