Welcome! Log In Create A New Profile

Advanced

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Steve Wilson
June 23, 2014 07:18AM
On 23/06/2014 12:05, Keyur wrote:
> Thanks Jonathan!
>
> Well I can not comment regarding getting professional service. Infact I
> will
> be glad to have support but If I go with this approach then I would
> rather
> be asked to use web server which supports the said feature. (This is
> doable
> in apache). And I really don't want to do away with Nginx.
>
> With lack of reply I understand this isn't possible in nginx at the
> moment
> but I hope this is taken as feature request so that I can use it in
> nginx
> and does not have to rely on other web server.

The chances are it's probably possible, however this mailing list/forum
has a limited subset of nginx users available to assist.

I'm not sure why you have the requirement to use the XFF header to get
geoip, but have you looked at the realip module
http://nginx.org/en/docs/http/ngx_http_realip_module.html. My first
thought would be to configure it to ignore RFC1918 addresses so the real
IP would in theory become a true IP which geoip could then use for
locating the user.

I have a piwik install on nginx, behind varnish with another nginx
instance doing SSL termination. Using realip to detect the user's
location seems to have done the trick.

Steve.

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

GeoIP FirstNonPrivateXForwardedForIP

Keyur June 12, 2014 12:36PM

RE: GeoIP FirstNonPrivateXForwardedForIP

Lukas Tribus June 12, 2014 01:12PM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Keyur June 16, 2014 01:17AM

RE: GeoIP FirstNonPrivateXForwardedForIP

Lukas Tribus June 16, 2014 03:14AM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Keyur June 16, 2014 03:19AM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Keyur June 23, 2014 02:57AM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Jonathan Matthews June 23, 2014 06:32AM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Keyur June 23, 2014 07:05AM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

Steve Wilson June 23, 2014 07:18AM

RE: GeoIP FirstNonPrivateXForwardedForIP

Lukas Tribus June 23, 2014 08:32AM

Re: RE: GeoIP FirstNonPrivateXForwardedForIP

wandenberg July 31, 2014 10:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
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