Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
Ideas and Feature Requests
> Topic
Advanced
geoip x forwarded for
Posted by
philipp
Forum List
Message List
New Topic
philipp
geoip x forwarded for
December 27, 2011 08:23AM
Registered: 3 years ago
Posts: 18
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?
Reply
Quote
philipp
Re: geoip x forwarded for
December 29, 2011 08:12AM
Registered: 3 years ago
Posts: 18
ok this seems to be the solution:
real_ip_header X-Forwarded-For;
set_real_ip_from 10.0.0.0/8;
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Jim Ohlstein
,
ogny
Guests: 116
Record Number of Users: 5 on May 17, 2013
Record Number of Guests: 138 on May 16, 2013