# nginx: block AI bots by user-agent # Generated by AI Bots DB (https://github.com/ai-bots-db/ai-bots-db) # Blocked purposes: training, data-provider # 1. Put this map in the http {} block. # 2. In each server {} block add: if ($ai_bot) { return 403; } map $http_user_agent $ai_bot { default 0; "~*AgentDataBot" 1; "~*Ai2Bot-Dolma" 1; "~*AI2Bot" 1; "~*aiHitBot" 1; "~*Amazonbot" 1; "~*anthropic-ai" 1; "~*ApifyBot" 1; "~*ApifyWebsiteContentCrawler" 1; "~*Awario" 1; "~*bedrockbot" 1; "~*BixelBot" 1; "~*Bravebot" 1; "~*Brightbot" 1; "~*Bytespider" 1; "~*CCBot" 1; "~*ChatGLM-Spider" 1; "~*ClaudeBot" 1; "~*CloudflareBrowserRenderingCrawler" 1; "~*cohere-training-data-crawler" 1; "~*Cotoyogi" 1; "~*CragCrawler" 1; "~*Crawlspace" 1; "~*Datenbank\sCrawler" 1; "~*DeepSeekBot" 1; "~*Diffbot" 1; "~*EchoboxBot" 1; "~*ElevenlabsCrawler" 1; "~*ERNIEBot" 1; "~*ExaBot" 1; "~*Factset_spyderbot" 1; "~*FirecrawlAgent" 1; "~*FriendlyCrawler" 1; "~*GPTBot" 1; "~*HenkBot" 1; "~*Hunyuan" 1; "~*ICC-Crawler" 1; "~*ImagesiftBot" 1; "~*imageSpider" 1; "~*img2dataset" 1; "~*ISSCyberRiskCrawler" 1; "~*Kangaroo\sBot" 1; "~*KimiBot" 1; "~*laion-huggingface-processor" 1; "~*LAIONDownloader" 1; "~*Linguee\sBot" 1; "~*Meta-ExternalAgent" 1; "~*MistralAI-Training" 1; "~*MoonshotBot" 1; "~*Mozilla-Tabstack" 1; "~*MyCentralAIScraperBot" 1; "~*NagetBot" 1; "~*netEstate\sImprint\sCrawler" 1; "~*newsai" 1; "~*omgili" 1; "~*PanguBot" 1; "~*Panscient" 1; "~*Querit-SearchBot" 1; "~*QueritBot" 1; "~*QwenBot" 1; "~*SBIntuitionsBot" 1; "~*ShapBot" 1; "~*Sidetrade\sindexer\sbot" 1; "~*TavilyBot" 1; "~*TerraCotta" 1; "~*TikTokSpider" 1; "~*Timpibot" 1; "~*VelenPublicWebCrawler" 1; "~*WARDBot" 1; "~*xAI-Grok" 1; "~*YandexAdditionalBot" 1; "~*YiBot" 1; }