geoip x forwarded for
December 27, 2011 08:23AM
I would like to use the geo ip module behind Amazon Elastic Load Balancing. In this case the client ip address is stored in the x forwarded for header. Is it possible to use the header for geo ip lookup?
Re: geoip x forwarded for
December 29, 2011 08:12AM
ok this seems to be the solution:

real_ip_header X-Forwarded-For;
set_real_ip_from 10.0.0.0/8;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready