{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/badf0ea8a2e9c156a05e60a7741c88a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"badf0ea8a2e9c156a05e60a7741c88a0","url":"https://api.github.com/users/tpetry","login":"tpetry","id":315686},"milestone":null,"labels":[],"updated_at":"2011-11-04T10:02:27Z","assignee":null,"comments":2,"closed_at":null,"url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/143","body":"When you build your architecture that node-http-proxy is another proxy in a proxy chain it will ignore the incoming x-forward-for details and set it's own.\r\n\r\nArchitecture (all on the same server):\r\n\r\n    [nginx] -> [node-http-proxy] -> [node application]\r\n\r\nExpected x-forward-for at node application:\r\n\r\n    [client-ip], [nginx-ip], [node-http-proxy-ip]\r\n\r\nActual x-forward-for at node application:\r\n\r\n    [node-http-proxy-ip]\r\n\r\n\r\nIt does not only throw away the x-forward-for information, it even does not pass the proxy-ip in the x-forward-for chain.","html_url":"https://github.com/nodejitsu/node-http-proxy/issues/143","number":143,"title":"node-http-proxy ignores incoming x-forward-for","id":2132164,"created_at":"2011-11-03T13:04:43Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/badf0ea8a2e9c156a05e60a7741c88a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"badf0ea8a2e9c156a05e60a7741c88a0","url":"https://api.github.com/users/tpetry","login":"tpetry","id":315686},"updated_at":"2011-11-04T10:02:27Z","url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/comments/2628878","body":"`x-forward-for` is a non rfc header, but wikipedia has a very nice [article](http://en.wikipedia.org/wiki/X-Forwarded-For) for it. Nginx complies to the description of this article.","id":2628878,"created_at":"2011-11-04T10:02:27Z"}}