On ajoute des nouveaux bots à ignorer
This commit is contained in:
parent
1b27192b7b
commit
51e820821a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user