Thanks for reply Francis, adding following did the trick :)
set req.http.X-Forwarded-For = req.http.X-Forwarded-For;
set req.http.X-GeoIP = geoip.country_code(req.http.X-Forwarded-For);
Regards.
Shahzaib
On Wed, Jan 21, 2015 at 12:06 AM, Francis Daly wrote:
> On Tue, Jan 20, 2015 at 11:38:21P
On Tue, Jan 20, 2015 at 11:38:21PM +0500, shahzaib shahzaib wrote:
Hi there,
> We've compile varnish with geoip module in order to cache country based
> hashes, so far varnish<-> apache structure is working fine with geoip
> module and caching requests based on countries but when we add anoth
Hi,
We've compile varnish with geoip module in order to cache country based
hashes, so far varnish<-> apache structure is working fine with geoip
module and caching requests based on countries but when we add another
Nginx proxy layer in front of varnish i.e nginx -> varnish - apache, the
geoi