Welcome! Log In Create A New Profile

Advanced

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

Anonymous User
January 09, 2011 08:50PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Anonymous User January 09, 2011 08:50PM

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

Maxim Dounin January 09, 2011 10:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready