add a bunch of bots into blockbots

This commit is contained in:
packetcat 2024-06-23 17:07:14 -04:00
parent 5a2e0abbd7
commit 9ce8df4e84
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@
fastcgi_pass php;
}
blockbots:
- if ($http_user_agent ~* (thesis-research-bot|fidget-spinner-bot|ClaudeBot) ) {
- if ($http_user_agent ~* (thesis-research-bot|fidget-spinner-bot|AdsBot-Google|Amazonbot|anthropic-ai|Applebot-Extended|AwarioRssBot|AwarioSmartBot|Bytespider|CCBot|ChatGPT-User|ClaudeBot|Claude-Web|cohere-ai|DataForSeoBot|Diffbot|FacebookBot|FriendlyCrawler|Google-Extended|GoogleOther|GPTBot|img2dataset|ImagesiftBot|magpie-crawler|Meltwater|omgili|omgilibot|peer39_crawler|peer39_crawler/1.0|PerplexityBot|PiplBot|scoop.it|Seekr|YouBot) ) {
return 403;
}
nginx_configs: