refactor: Add HTTP3 specific modsec rule in web UI

This commit is contained in:
Théophile Diot 2024-08-07 16:52:47 +01:00
parent efebf6b2a3
commit 80ac2f50a0
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -3,4 +3,7 @@ SecRule REQUEST_FILENAME "@rx /(global_config|services)$" "id:7771,ctl:ruleRemov
SecRule REQUEST_FILENAME "@rx /configs$" "id:7772,ctl:ruleRemoveByTag=language-shell,ctl:ruleRemoveByTag=attack-lfi,ctl:ruleRemoveByTag=attack-rfi,ctl:ruleRemoveByTag=attack-ssrf,nolog"
SecRule REQUEST_FILENAME "@rx /jobs$" "id:7773,ctl:ruleRemoveByTag=language-shell,ctl:ruleRemoveByTag=language-php,nolog"
SecRule REQUEST_FILENAME "@rx /jobs/download$" "id:7774,ctl:ruleRemoveByTag=attack-lfi,nolog"
{% if HTTP3 == "yes" +%}
SecRuleRemoveById 920280
{% endif +%}
{% endif +%}