Removed the default config condition in ingress controller template

This commit is contained in:
besha100 2021-12-15 21:32:16 +01:00
parent 63152368d7
commit fed84ef5cf

View file

@ -1530,9 +1530,6 @@ func buildModSecurityForLocation(cfg config.Configuration, location *ingress.Loc
%v
';
`, location.ModSecurity.Snippet))
} else {
buffer.WriteString(`modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;
`)
}
if location.ModSecurity.TransactionID != "" {