{"action":"created","issue":{"url":"https://api.github.com/repos/koajs/koa/issues/541","labels_url":"https://api.github.com/repos/koajs/koa/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/koajs/koa/issues/541/comments","events_url":"https://api.github.com/repos/koajs/koa/issues/541/events","html_url":"https://github.com/koajs/koa/pull/541","id":112967755,"number":541,"title":"support x-real-ip","user":{"login":"atian25","id":227713,"avatar_url":"https://avatars.githubusercontent.com/u/227713?v=3","gravatar_id":"","url":"https://api.github.com/users/atian25","html_url":"https://github.com/atian25","followers_url":"https://api.github.com/users/atian25/followers","following_url":"https://api.github.com/users/atian25/following{/other_user}","gists_url":"https://api.github.com/users/atian25/gists{/gist_id}","starred_url":"https://api.github.com/users/atian25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atian25/subscriptions","organizations_url":"https://api.github.com/users/atian25/orgs","repos_url":"https://api.github.com/users/atian25/repos","events_url":"https://api.github.com/users/atian25/events{/privacy}","received_events_url":"https://api.github.com/users/atian25/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-23T07:28:06Z","updated_at":"2015-10-25T19:55:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/koajs/koa/pulls/541","html_url":"https://github.com/koajs/koa/pull/541","diff_url":"https://github.com/koajs/koa/pull/541.diff","patch_url":"https://github.com/koajs/koa/pull/541.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/koajs/koa/issues/comments/150963597","html_url":"https://github.com/koajs/koa/pull/541#issuecomment-150963597","issue_url":"https://api.github.com/repos/koajs/koa/issues/541","id":150963597,"user":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T19:55:21Z","updated_at":"2015-10-25T19:55:21Z","body":"i'd also prefer if this logic was in a separate module. see:\r\n\r\n- https://github.com/koajs/koa/issues/281\r\n- https://github.com/jshttp/proxy-addr\r\n- https://github.com/jshttp/forwarded"}}