From 7be5fa07b163db5e37b88dbb9271a24214bb9884 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sat, 5 Apr 2025 14:22:41 +0200 Subject: [PATCH] Add botPolicy.json --- botPolicy.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 botPolicy.json diff --git a/botPolicy.json b/botPolicy.json new file mode 100644 index 0000000..0adea44 --- /dev/null +++ b/botPolicy.json @@ -0,0 +1,29 @@ +{ + "bots": [ + { + "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": "stats", + "path_regex": "^/api/v1/stats$", + "action": "ALLOW" + }, + { + "name": "generic-browser", + "path_regex": ".*", + "action": "CHALLENGE" + } + ] +}