Aujourd'hui seul Amazonbot est insupportable

This commit is contained in:
Jean-Marie Favreau 2024-09-07 10:50:57 +02:00
parent c5b98a63bc
commit 8497dff045

View File

@ -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 ~* "(?:acunetix|BLEXBot|domaincrawler\.com|LinkpadBot|MJ12bot/v|majestic12\.co\.uk|AhrefsBot|TwengaBot|SemrushBot|nikto|winhttp|Xenu\s+Link\s+Sleuth|Baiduspider|HTTrack|clshttp|harvest|extract|grab|miner|python-requests|Amazonbot)") { if ($http_user_agent ~* "(?:Amazonbot)") {
return 444; return 444;
} }