Skip to content

Commit

Permalink
Fix modsecurity check logic
Browse files Browse the repository at this point in the history
  • Loading branch information
markhley committed Aug 10, 2023
1 parent 435ce86 commit 040c5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 040c5a0

Please sign in to comment.