From 5a3d39d2404d6740fb103ee9fda8c22fc08eefb4 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 11 Jan 2025 13:07:57 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20bot=20filtr=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment/scripts/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/scripts/nginx/nginx.conf b/deployment/scripts/nginx/nginx.conf index f3bc403..ee299a0 100644 --- a/deployment/scripts/nginx/nginx.conf +++ b/deployment/scripts/nginx/nginx.conf @@ -32,7 +32,7 @@ http { error_page 502 /static/html/500.html; error_page 503 /static/html/500.html; - if ($http_user_agent ~* (Amazonbot|meta-externalagent|ClaudeBot)) { + if ($http_user_agent ~* "Amazonbot|meta-externalagent|ClaudeBot|ahrefsbot|semrushbot") { return 444; }