annotation to ignore given list of WAF rulesets (#2314)
This commit is contained in:
parent
a6fe800a47
commit
16faf309ca
6 changed files with 59 additions and 9 deletions
|
|
@ -835,6 +835,10 @@ stream {
|
|||
waf:set_option("res_tid_header", true)
|
||||
{{ end }}
|
||||
|
||||
{{ range $ruleset := $location.LuaRestyWAF.IgnoredRuleSets }}
|
||||
waf:set_option("ignore_ruleset", "{{ $ruleset }}")
|
||||
{{ end }}
|
||||
|
||||
waf:exec()
|
||||
}
|
||||
header_filter_by_lua_block {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue