Geoip redirect by country codes but exclude a client with dynamic ip

st1905 nginx-forum at nginx.us
Wed Dec 8 18:26:26 MSK 2010


Just an update, I used a custom user-agent to disable redirect for the
client, there is a plugin for firefox that allows to use custom
user-agents so he selects it and redirection stops, a simple if
statement in nginx config is applied for this purpose.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,156771,156803#msg-156803




More information about the nginx mailing list