added bot policy to anubis
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 42s

This commit is contained in:
2025-06-01 22:44:30 +02:00
parent 2ade479728
commit c305c8d3ad
2 changed files with 18 additions and 1 deletions

17
botPolicy.yaml Normal file
View File

@@ -0,0 +1,17 @@
bots:
- name: cloudflare-workers
headers_regex:
CF-Worker: .*
action: DENY
- name: well-known
path_regex: ^/.well-known/.*$
action: ALLOW
- name: favicon
path_regex: ^/favicon.ico$
action: ALLOW
- name: robots-txt
path_regex: ^/robots.txt$
action: ALLOW
- name: generic-browser
user_agent_regex: Mozilla
action: CHALLENGE