You could try forwarding them as extra custom headers, as in this example 
<https://easyengine.io/tutorials/nginx/forwarding-visitors-real-ip/>, and 
then check for these different headers on App Engine.

https://easyengine.io/tutorials/nginx/forwarding-visitors-real-ip/

On Friday, January 1, 2016 at 2:39:45 AM UTC-5, Mayank Bhagya wrote:
>
>
> Hello,
>
> I am using nginx as a reverse proxy in front of my appengine app.
>
> So the client's IP doesn't turn up in the remote_addr of the request that 
> reaches app engine.
> Instead, remote_addr has the ip of the machine running nginx.
>
> So lat-lng, country and other headers are not getting populated correctly.
> Is there anyway I can tell appengine to use the forwarded IP to compute 
> lat-lng, country etc?
>
> Thanks.
> -mayank
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1e8b90f9-de9b-47dc-adae-d13a4a01646b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to