mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
feat: Add rule to edit the CRS-v3 default allowed_http_versions to add HTTP/3 and HTTP3.0 in ModSecurity when using HTTP3
This commit is contained in:
parent
758221c93c
commit
32d9be885f
1 changed files with 9 additions and 0 deletions
9
src/common/core/modsecurity/confs/modsec-crs/http3.conf
Normal file
9
src/common/core/modsecurity/confs/modsec-crs/http3.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% if USE_MODSECURITY == "yes" and MODSECURITY_CRS_VERSION == "3" and HTTP3 == "yes" +%}
|
||||
SecAction \
|
||||
"id:900230,\
|
||||
phase:1,\
|
||||
nolog,\
|
||||
pass,\
|
||||
t:none,\
|
||||
setvar:'tx.allowed_http_versions=HTTP/1.0 HTTP/1.1 HTTP/2 HTTP/2.0 HTTP/3 HTTP/3.0'"
|
||||
{% endif %}
|
||||
Loading…
Reference in a new issue