ingress-nginx-helm/rootfs/etc/nginx/template
MMeent 75e8d37d71
Fix issue in logic of modsec template
according to go templates: `(and ((not false) false))` == `true`

the only way to remove the owasp rules from every location is to disable modsec on that location, or to enable owasp globally, both not-so-great choices.

This commit fixes the logic issue by fixing the and-clause in the if-statement. As a result this reduces global resource usages when modsecurity is configured globally, but not on every location.
2019-11-28 14:56:41 +01:00
..
nginx.tmpl Fix issue in logic of modsec template 2019-11-28 14:56:41 +01:00