Hello!
On Mon, Nov 22, 2010 at 03:34:27PM -0500, st1905 wrote:
[...]
> Problem is the administrator of the site is from one of the countries
> that gets redirected so he cant access the administration section of the
> site instead he gets redirected to another place.
>
> How can i exclude the directory "admin" from the above geoip redirection
> ?
location / {
...do whatever you want here...
}
location /admin/ {
...do whatever you want here...
}
See here for more details:
http://wiki.nginx.org/HttpCoreModule#location
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx