Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - Russian
> Topic
Advanced
Re: white & bad bots Помогите
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
Raven_kg
June 09, 2019 11:24PM
Registered: 12 years ago
Posts: 25
map $http_user_agent $bad_bot {
default 0;
~*360Spider 1;
~*AdsBot-Google-Mobile 0;
~*google 1;
...
}
и в нужном локейшене:
if ($bad_bot) {
return 410;
}
Reply
Quote
RSS
Subject
Author
Posted
white & bad bots Помогите
ocadihoh
June 09, 2019 07:00AM
Re: white & bad bots Помогите
Raven_kg
June 09, 2019 11:24PM
Re: white & bad bots Помогите
Maxim Dounin
June 10, 2019 07:54AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
hackermade
Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018