Re: geoip_country_code header is deleted when I set another custom header

2014-01-10 Thread MarcPapers
Thanks Ruslan, obviously at the level(http server) that I was setting the mobile header, it didn't use to inherit the geoip header because it was set in a previous level (nginx configuration). I didn't see it. Thanks for your help. What I did for doing it work properly was adding the geoip at the s

Re: geoip_country_code header is deleted when I set another custom header

2014-01-10 Thread Ruslan Ermilov
On Fri, Jan 10, 2014 at 04:40:00AM -0500, MarcPapers wrote: [...] > location / { > proxy_pass http://xx; > access_log /var/log/nginx/xx.access.log menosbasico; > proxy_set_header ismobiletraffic $mobile_flag; > } > > ## END DEFAULT FILE ## >

geoip_country_code header is deleted when I set another custom header

2014-01-10 Thread MarcPapers
Hello everybody. I have a nginx (version: nginx/0.7.67) running as a loadbalancer for two tomcat7 servers with the geoip module. It was working correctly until I changed the configuration file placed in available-locations called default (we work only with the default one). The changes were made to