Fix modsecurity check logic
This commit is contained in:
parent
ff3c608a5b
commit
e645e85728
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,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 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue