On Jul 1, 9:48 pm, "john.tiger" <[email protected]> wrote:
> okay, thanks, geoip gives all the geo info we need if we have the domain
>
> now, how do we capture the incoming origin domain ?  I just don't see
> any info on this - would it be specific if we are using node-http-proxy
> ?  thks for any help

For geoip you use IP addresses, not hostnames.

With node-http-proxy, you need to enable the xforward config option,
then you should be able to see the original IP address at the
forwarded site under the x-forwarded-for HTTP header.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to