GeoIp local countries

soisita nginx-forum at
Tue Sep 7 19:10:24 MSD 2010

Testing in vhost file
if ($geoip_country_code = FR) {
rewrite ^(.*)$$1 permanent;
while being in France (to see if geoip rules), I fall in a loop,
redirecting to (so I assume this part is ok), then asking for again , etc.

Where am I wrong ?


Posted at Nginx Forum:,127911,127997#msg-127997

More information about the nginx mailing list