Fix modsecurity check logic

This commit is contained in:
mley 2023-08-10 11:07:36 -07:00
parent 435ce86497
commit 040c5a03bb

View file

@ -710,7 +710,7 @@ http {
# default server, used for NGINX healthcheck and access to nginx stats
server {
# Ensure that modsecurity will not run on an internal location as this is not accessible from outside
{{ if $modsecurityEnabled }}
{{ if $all.Cfg.EnableModsecurity }}
modsecurity off;
{{ end }}