mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
bw - fix modsec FP on antibot page
This commit is contained in:
parent
e761103e80
commit
8c88a8967b
2 changed files with 6 additions and 5 deletions
1
src/common/core/antibot/confs/modsec-crs/antibot.conf
Normal file
1
src/common/core/antibot/confs/modsec-crs/antibot.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
SecRule REQUEST_FILENAME "@rx ^{{ ANTIBOT_URI }}$" "nolog,phase:4,allow,id:1010"
|
||||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue