Removed the default config condition in ingress controller template
This commit is contained in:
parent
63152368d7
commit
fed84ef5cf
1 changed files with 0 additions and 3 deletions
|
@ -1530,9 +1530,6 @@ func buildModSecurityForLocation(cfg config.Configuration, location *ingress.Loc
|
||||||
%v
|
%v
|
||||||
';
|
';
|
||||||
`, location.ModSecurity.Snippet))
|
`, location.ModSecurity.Snippet))
|
||||||
} else {
|
|
||||||
buffer.WriteString(`modsecurity_rules_file /etc/nginx/modsecurity/modsecurity.conf;
|
|
||||||
`)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if location.ModSecurity.TransactionID != "" {
|
if location.ModSecurity.TransactionID != "" {
|
||||||
|
|
Loading…
Reference in a new issue