From 8ddd2a0bb36590545ce68c02b8544e233d4db263 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 22 Apr 2024 09:28:21 -0700 Subject: [PATCH] chore: add img2dataset to nginx.conf --- servers/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/nginx.conf b/servers/nginx.conf index 057a752..98b4527 100644 --- a/servers/nginx.conf +++ b/servers/nginx.conf @@ -1,6 +1,6 @@ # for nginx.conf; intended to block via user agent string # note: we recommend following the approach outlined here https://underlap.org/nginx-robot-access # and contributing if you're able: https://github.com/glyn/nginx_robot_access -if ($http_user_agent ~* (AdsBot-Google|Amazonbot|anthropic-ai|Applebot|AwarioRssBot|AwarioSmartBot|Bytespider|CCBot|ChatGPT-User|ClaudeBot|Claude-Web|cohere-ai|DataForSeoBot|FacebookBot|FriendlyCrawler|Google-Extended|GoogleOther|GPTBot|ImagesiftBot|magpie-crawler|Meltwater|omgili|omgilibot|peer39_crawler|peer39_crawler/1.0|PerplexityBot|PiplBot|Seekr|YouBot)) { +if ($http_user_agent ~* (AdsBot-Google|Amazonbot|anthropic-ai|Applebot|AwarioRssBot|AwarioSmartBot|Bytespider|CCBot|ChatGPT-User|ClaudeBot|Claude-Web|cohere-ai|DataForSeoBot|FacebookBot|FriendlyCrawler|Google-Extended|GoogleOther|GPTBot|img2dataset|ImagesiftBot|magpie-crawler|Meltwater|omgili|omgilibot|peer39_crawler|peer39_crawler/1.0|PerplexityBot|PiplBot|Seekr|YouBot)) { return 403; }