On ajoute des nouveaux bots à ignorer

This commit is contained in:
Jean-Marie Favreau 2025-05-03 13:09:55 +02:00
parent 1b27192b7b
commit 51e820821a

View File

@ -38,7 +38,7 @@ http {
error_page 502 /static/html/502.html; error_page 502 /static/html/502.html;
error_page 503 /static/html/503.html; error_page 503 /static/html/503.html;
if ($http_user_agent ~* "Amazonbot|meta-externalagent|ClaudeBot|ahrefsbot|semrushbot") { if ($http_user_agent ~* "Amazonbot|meta-externalagent|ClaudeBot|ahrefsbot|semrushbot|PerplexityBot|GPTBot") {
return 444; return 444;
} }
access_log /var/log/nginx/access.log main; access_log /var/log/nginx/access.log main;