{"action":"created","issue":{"url":"https://api.github.com/repos/portainer/portainer/issues/379","repository_url":"https://api.github.com/repos/portainer/portainer","labels_url":"https://api.github.com/repos/portainer/portainer/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/portainer/portainer/issues/379/comments","events_url":"https://api.github.com/repos/portainer/portainer/issues/379/events","html_url":"https://github.com/portainer/portainer/pull/379","id":194435559,"number":379,"title":"Connect to docker behind a name based virtual host proxy","user":{"login":"eisnerd","id":441072,"avatar_url":"https://avatars.githubusercontent.com/u/441072?v=3","gravatar_id":"","url":"https://api.github.com/users/eisnerd","html_url":"https://github.com/eisnerd","followers_url":"https://api.github.com/users/eisnerd/followers","following_url":"https://api.github.com/users/eisnerd/following{/other_user}","gists_url":"https://api.github.com/users/eisnerd/gists{/gist_id}","starred_url":"https://api.github.com/users/eisnerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eisnerd/subscriptions","organizations_url":"https://api.github.com/users/eisnerd/orgs","repos_url":"https://api.github.com/users/eisnerd/repos","events_url":"https://api.github.com/users/eisnerd/events{/privacy}","received_events_url":"https://api.github.com/users/eisnerd/received_events","type":"User","site_admin":false},"labels":[{"id":476595914,"url":"https://api.github.com/repos/portainer/portainer/labels/contrib/func-review-approved","name":"contrib/func-review-approved","color":"c2e0c6","default":false},{"id":476594704,"url":"https://api.github.com/repos/portainer/portainer/labels/contrib/tech-review-in-progress","name":"contrib/tech-review-in-progress","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-12-08T20:25:36Z","updated_at":"2016-12-24T04:48:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/portainer/portainer/pulls/379","html_url":"https://github.com/portainer/portainer/pull/379","diff_url":"https://github.com/portainer/portainer/pull/379.diff","patch_url":"https://github.com/portainer/portainer/pull/379.patch"},"body":"This involves copying and modifying go's httputil.NewSingleHostReverseProxy, which is documented to (perhaps surprisingly) leave the Host header untouched. Instead, we set the Host header to the target host for the connection for the benefit of name based virtual host proxies that make use of this.\r\n\r\nSee golang/go#7618 and golang/go#10342"},"comment":{"url":"https://api.github.com/repos/portainer/portainer/issues/comments/269069061","html_url":"https://github.com/portainer/portainer/pull/379#issuecomment-269069061","issue_url":"https://api.github.com/repos/portainer/portainer/issues/379","id":269069061,"user":{"login":"deviantony","id":5485061,"avatar_url":"https://avatars.githubusercontent.com/u/5485061?v=3","gravatar_id":"","url":"https://api.github.com/users/deviantony","html_url":"https://github.com/deviantony","followers_url":"https://api.github.com/users/deviantony/followers","following_url":"https://api.github.com/users/deviantony/following{/other_user}","gists_url":"https://api.github.com/users/deviantony/gists{/gist_id}","starred_url":"https://api.github.com/users/deviantony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviantony/subscriptions","organizations_url":"https://api.github.com/users/deviantony/orgs","repos_url":"https://api.github.com/users/deviantony/repos","events_url":"https://api.github.com/users/deviantony/events{/privacy}","received_events_url":"https://api.github.com/users/deviantony/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T04:48:57Z","updated_at":"2016-12-24T04:48:57Z","body":"@eisnerd tried to built it locally and it works fine. Thanks for the PR !"}}
{"actor":{"display_login":"deviantony"}}