bw - fix modsec FP on antibot page

This commit is contained in:
fl0ppy-d1sk 2024-02-26 16:53:09 +01:00
parent e761103e80
commit 8c88a8967b
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500
2 changed files with 6 additions and 5 deletions

View file

@ -0,0 +1 @@
SecRule REQUEST_FILENAME "@rx ^{{ ANTIBOT_URI }}$" "nolog,phase:4,allow,id:1010"

View file

@ -1,6 +1,6 @@
{% if IS_LOADING != "yes" and DISABLE_DEFAULT_SERVER == "no" +%}
root /usr/share/bunkerweb/core/misc/files;
location / {
try_files /default.html =404;
}
{% if IS_LOADING != "yes" and DISABLE_DEFAULT_SERVER == "no" +%}
root /usr/share/bunkerweb/core/misc/files;
location / {
try_files /default.html =404;
}
{% endif %}