{"action":"opened","issue":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1335","repository_url":"https://api.github.com/repos/NVIDIA/DIGITS","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1335/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1335/comments","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1335/events","html_url":"https://github.com/NVIDIA/DIGITS/issues/1335","id":193898959,"number":1335,"title":"Serving DIGITS over https with nginx","user":{"login":"stevefox","id":5599297,"avatar_url":"https://avatars.githubusercontent.com/u/5599297?v=3","gravatar_id":"","url":"https://api.github.com/users/stevefox","html_url":"https://github.com/stevefox","followers_url":"https://api.github.com/users/stevefox/followers","following_url":"https://api.github.com/users/stevefox/following{/other_user}","gists_url":"https://api.github.com/users/stevefox/gists{/gist_id}","starred_url":"https://api.github.com/users/stevefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevefox/subscriptions","organizations_url":"https://api.github.com/users/stevefox/orgs","repos_url":"https://api.github.com/users/stevefox/repos","events_url":"https://api.github.com/users/stevefox/events{/privacy}","received_events_url":"https://api.github.com/users/stevefox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T22:06:12Z","updated_at":"2016-12-06T22:06:12Z","closed_at":null,"body":"I tried setting this up to terminate SSL at nginx, and reverse proxying to the application. The application works, but some of the link requests (built by flask url_for) are not being sent over HTTPS, but rather plain text to <hostname>:443, so it seems like Flask is not using the scheme that the application is using to generate the links. The socket.io connection was hard-coded to use 'http' (see PR #1333).\r\n\r\nDo you have any recommendations for serving the application over HTTPS?"}}
{"actor":{"display_login":"stevefox"}}