{"action":"created","issue":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/631","repository_url":"https://api.github.com/repos/jwilder/nginx-proxy","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/631/labels{/name}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/631/comments","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/631/events","html_url":"https://github.com/jwilder/nginx-proxy/issues/631","id":188751225,"number":631,"title":"Example on how handle https on the reverse proxy","user":{"login":"ArielGueta","id":20522870,"avatar_url":"https://avatars.githubusercontent.com/u/20522870?v=3","gravatar_id":"","url":"https://api.github.com/users/ArielGueta","html_url":"https://github.com/ArielGueta","followers_url":"https://api.github.com/users/ArielGueta/followers","following_url":"https://api.github.com/users/ArielGueta/following{/other_user}","gists_url":"https://api.github.com/users/ArielGueta/gists{/gist_id}","starred_url":"https://api.github.com/users/ArielGueta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArielGueta/subscriptions","organizations_url":"https://api.github.com/users/ArielGueta/orgs","repos_url":"https://api.github.com/users/ArielGueta/repos","events_url":"https://api.github.com/users/ArielGueta/events{/privacy}","received_events_url":"https://api.github.com/users/ArielGueta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-11-11T12:35:42Z","updated_at":"2016-11-12T18:09:09Z","closed_at":null,"body":"I have two containers:\r\n1. client - expose port 3000\r\n2. api - expose port 8000\r\n\r\nI need the nginx-proxy to handle the https ( including redirecting http to https ) and talk to the containers http.\r\nWhen I am running my code using http this works fine but when I'm trying with https I'm getting 502.\r\nSomeone please can help with short example on how to get running with this? thanks.\r\n"},"comment":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/comments/260138455","html_url":"https://github.com/jwilder/nginx-proxy/issues/631#issuecomment-260138455","issue_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/631","id":260138455,"user":{"login":"wader","id":185566,"avatar_url":"https://avatars.githubusercontent.com/u/185566?v=3","gravatar_id":"","url":"https://api.github.com/users/wader","html_url":"https://github.com/wader","followers_url":"https://api.github.com/users/wader/followers","following_url":"https://api.github.com/users/wader/following{/other_user}","gists_url":"https://api.github.com/users/wader/gists{/gist_id}","starred_url":"https://api.github.com/users/wader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wader/subscriptions","organizations_url":"https://api.github.com/users/wader/orgs","repos_url":"https://api.github.com/users/wader/repos","events_url":"https://api.github.com/users/wader/events{/privacy}","received_events_url":"https://api.github.com/users/wader/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T18:09:09Z","updated_at":"2016-11-12T18:09:09Z","body":"OK nice. For redirect i think you need something like `VIRTUAL_HOST=apilocal.com,www.apilocal.com` and then either do the redirect in your app container or add a custom nginx config using https://github.com/jwilder/nginx-proxy#per-virtual_host"}}
{"actor":{"display_login":"wader"}}