Aujourd'hui seul Amazonbot est insupportable
This commit is contained in:
parent
c5b98a63bc
commit
8497dff045
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user