diff --git a/src/common/core/modsecurity/confs/modsec-crs/http3.conf b/src/common/core/modsecurity/confs/modsec-crs/http3.conf new file mode 100644 index 000000000..21d1d118a --- /dev/null +++ b/src/common/core/modsecurity/confs/modsec-crs/http3.conf @@ -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 %}