{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2743","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2743/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2743/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2743/events","html_url":"https://github.com/hapijs/hapi/issues/2743","id":103620433,"number":2743,"title":"[Feature Request] Proxy Protocol","user":{"login":"felipegs","id":420000,"avatar_url":"https://avatars.githubusercontent.com/u/420000?v=3","gravatar_id":"","url":"https://api.github.com/users/felipegs","html_url":"https://github.com/felipegs","followers_url":"https://api.github.com/users/felipegs/followers","following_url":"https://api.github.com/users/felipegs/following{/other_user}","gists_url":"https://api.github.com/users/felipegs/gists{/gist_id}","starred_url":"https://api.github.com/users/felipegs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipegs/subscriptions","organizations_url":"https://api.github.com/users/felipegs/orgs","repos_url":"https://api.github.com/users/felipegs/repos","events_url":"https://api.github.com/users/felipegs/events{/privacy}","received_events_url":"https://api.github.com/users/felipegs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T00:12:02Z","updated_at":"2015-08-28T00:51:36Z","closed_at":"2015-08-28T00:51:36Z","body":"Sometimes we are behind a loadbalancer, and we need to know de real ip of the client, and the only way to do that is use proxy protocol.\r\n\r\nIt will be nice if hapijs supports proxy protocol, like this module does https://github.com/findhit/proxywrap\r\n"},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/135593814","html_url":"https://github.com/hapijs/hapi/issues/2743#issuecomment-135593814","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2743","id":135593814,"user":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T00:51:36Z","updated_at":"2015-08-28T00:51:36Z","body":"The right way to do this is in the load balancer, not the server. Either way, you can implement something like this in the onRequest extension point. I have no plans to add support in hapi itself."}}