Ajout d'un bot filtré
This commit is contained in:
parent
748b665a59
commit
5a3d39d240
@ -32,7 +32,7 @@ http {
|
|||||||
error_page 502 /static/html/500.html;
|
error_page 502 /static/html/500.html;
|
||||||
error_page 503 /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;
|
return 444;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user