Passing $geoip variables ( $geoip_city_country_code ) via proxy_set_header not working

Robert Suh roberts at bluenile.com
Tue Oct 18 16:53:01 UTC 2011


Thank you Igor, a colleague was able to find a forum posting about the realip module.

Using the realip module we were able to test the geoip variables passing via proxy_set_header.

It works as expected now.

Thanks again,
Rob


-----Original Message-----
From: nginx-bounces at nginx.org [mailto:nginx-bounces at nginx.org] On Behalf Of Igor Sysoev
Sent: Monday, October 17, 2011 10:49 PM
To: nginx at nginx.org
Subject: Re: Passing $geoip variables ( $geoip_city_country_code ) via proxy_set_header not working

On Mon, Oct 17, 2011 at 06:40:35PM -0700, Robert Suh wrote:
> Hello,
> 
...
> 
> Any ideas?

I believe, GeoIP returns empty string for 172.16.x networks, and nginx
does tno pass header field with no value.


-- 
Igor Sysoev

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list