Answer the question
In order to leave comments, you need to log in
How to deny access to a site from USA but allow user-agent Googlebot?
All the best!
GNU/Linux Ubuntu 18.02 has LEMP installed (NGINX 1.14.0).
There is a need to block certain countries (for example, the USA and China), but allow access to the Google robot, which is located in the states.
How to write rules in NGINX configs so that using the NGINX GeoIP module you can block countries without catching certain user-agents?
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