Answer the question
In order to leave comments, you need to log in
How to exclude bots from logs?
Can you please tell me how to exclude requests from ALL bots from the logs?
Everywhere they write about construction like:
map $http_user_agent $exbot_ua {
~Pingdom 0;
~Googlebot 0;
~Baiduspider 0;
~YandexBot 0;
~YandexImages 0;
~AhrefsBot 0;
default 1;
}
If the bot is called EKLMN - I agree, you need to add it manually, but how to send off all *bot* *spider* ?
It's stupid to name them all.
Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question