{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/mattermost-docker/issues/57","repository_url":"https://api.github.com/repos/mattermost/mattermost-docker","labels_url":"https://api.github.com/repos/mattermost/mattermost-docker/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/mattermost-docker/issues/57/comments","events_url":"https://api.github.com/repos/mattermost/mattermost-docker/issues/57/events","html_url":"https://github.com/mattermost/mattermost-docker/issues/57","id":183204403,"number":57,"title":"Web proxy causing issues when behind another proxy.","user":{"login":"jdoubleu","id":11274444,"avatar_url":"https://avatars.githubusercontent.com/u/11274444?v=3","gravatar_id":"","url":"https://api.github.com/users/jdoubleu","html_url":"https://github.com/jdoubleu","followers_url":"https://api.github.com/users/jdoubleu/followers","following_url":"https://api.github.com/users/jdoubleu/following{/other_user}","gists_url":"https://api.github.com/users/jdoubleu/gists{/gist_id}","starred_url":"https://api.github.com/users/jdoubleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdoubleu/subscriptions","organizations_url":"https://api.github.com/users/jdoubleu/orgs","repos_url":"https://api.github.com/users/jdoubleu/repos","events_url":"https://api.github.com/users/jdoubleu/events{/privacy}","received_events_url":"https://api.github.com/users/jdoubleu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-15T11:23:26Z","updated_at":"2016-11-06T16:54:56Z","closed_at":null,"body":"Theres a [long issue](https://github.com/mattermost/platform/issues/3944) on the official Mattermost repository pointing out a bug.\n\nI figured out that this isn't a problem with the Mattermost platform itself but with the docker stup provided by this setup.\n\nI used the [`docker-compose` file provided here](https://github.com/mattermost/mattermost-docker/blob/master/docker-compose.yml). Because I'm running multiple applications on my host I set up a reverse proxy. This reverse proxy serves HTTPS to the clients but communicates over HTTP with the backend, so this web proxy isn't using SSL. And there is the point!\n\nBy using HTTP in the backend this web proxy detects HTTP and passes it with the `X-Forwared-Proto` header to the Mattermost platform/app where it causes issues (explained in the other thread).\n\nI'm creating a PR with a workaround for this.\nFor me I just dropped the additional proxy and pass everything from the reverse proxy directly to the Mattermost app.\n"},"comment":{"url":"https://api.github.com/repos/mattermost/mattermost-docker/issues/comments/258693764","html_url":"https://github.com/mattermost/mattermost-docker/issues/57#issuecomment-258693764","issue_url":"https://api.github.com/repos/mattermost/mattermost-docker/issues/57","id":258693764,"user":{"login":"sushruth","id":2114206,"avatar_url":"https://avatars.githubusercontent.com/u/2114206?v=3","gravatar_id":"","url":"https://api.github.com/users/sushruth","html_url":"https://github.com/sushruth","followers_url":"https://api.github.com/users/sushruth/followers","following_url":"https://api.github.com/users/sushruth/following{/other_user}","gists_url":"https://api.github.com/users/sushruth/gists{/gist_id}","starred_url":"https://api.github.com/users/sushruth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushruth/subscriptions","organizations_url":"https://api.github.com/users/sushruth/orgs","repos_url":"https://api.github.com/users/sushruth/repos","events_url":"https://api.github.com/users/sushruth/events{/privacy}","received_events_url":"https://api.github.com/users/sushruth/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T16:54:56Z","updated_at":"2016-11-06T16:54:56Z","body":"Was having this EXACT issue myself. Thanks a lot for solving it. \r\n\r\nIs there any temporary workaround? (like making those changes in the PR, myself in `nginx.conf` inside mattermost container?)"}}
{"actor":{"display_login":"sushruth"}}