How to do a redirect to the desired site in nginx depending on the IP?

There are 2 website
how to make calls to determined the user's IP address and if it falls into the IP range of the city then directed to the if this IP does not fall within the range of the city that opens
server nginx
July 2nd 19 at 13:56
1 answer
July 2nd 19 at 13:58
Thank you - Osborn commented on July 2nd 19 at 14:01

Find more questions by tags Processing URLLinuxNginxDebian