Is it possible to populate $geoip_country from another value in the header?

rainer at ultra-secure.de rainer at ultra-secure.de
Mon Jan 10 04:46:42 MSK 2011


Hi,

we may have a situation where NGINX is behind a load-balancer that cloaks
all source-IPs with its own.
However, the original source-IP is conserved in a header.
Would it be possible to populate the geoip_country variable from that
other variable?



Best Regards,
Rainer



More information about the nginx mailing list