{"action":"created","issue":{"url":"https://api.github.com/repos/fpco/stackage-server/issues/83","labels_url":"https://api.github.com/repos/fpco/stackage-server/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/fpco/stackage-server/issues/83/comments","events_url":"https://api.github.com/repos/fpco/stackage-server/issues/83/events","html_url":"https://github.com/fpco/stackage-server/issues/83","id":62625795,"number":83,"title":"Bad styling over https","user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"DanBurton","id":713692,"avatar_url":"https://avatars.githubusercontent.com/u/713692?v=3","gravatar_id":"","url":"https://api.github.com/users/DanBurton","html_url":"https://github.com/DanBurton","followers_url":"https://api.github.com/users/DanBurton/followers","following_url":"https://api.github.com/users/DanBurton/following{/other_user}","gists_url":"https://api.github.com/users/DanBurton/gists{/gist_id}","starred_url":"https://api.github.com/users/DanBurton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanBurton/subscriptions","organizations_url":"https://api.github.com/users/DanBurton/orgs","repos_url":"https://api.github.com/users/DanBurton/repos","events_url":"https://api.github.com/users/DanBurton/events{/privacy}","received_events_url":"https://api.github.com/users/DanBurton/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-03-18T08:40:24Z","updated_at":"2015-03-18T21:34:08Z","closed_at":null,"body":"It seems that the http (not https) scheme is used in some places, likely due to APPROOT. The solution is most likely to use URLs without a scheme, e.g. `//www.stackage.org/foo/bar` or even without a domain name, e.g. `/foo/bar`. However, we need to make sure that when making such a change, necessary absolute links still work.\r\n\r\nPinging @chrisdone "},"comment":{"url":"https://api.github.com/repos/fpco/stackage-server/issues/comments/83190067","html_url":"https://github.com/fpco/stackage-server/issues/83#issuecomment-83190067","issue_url":"https://api.github.com/repos/fpco/stackage-server/issues/83","id":83190067,"user":{"login":"DanBurton","id":713692,"avatar_url":"https://avatars.githubusercontent.com/u/713692?v=3","gravatar_id":"","url":"https://api.github.com/users/DanBurton","html_url":"https://github.com/DanBurton","followers_url":"https://api.github.com/users/DanBurton/followers","following_url":"https://api.github.com/users/DanBurton/following{/other_user}","gists_url":"https://api.github.com/users/DanBurton/gists{/gist_id}","starred_url":"https://api.github.com/users/DanBurton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanBurton/subscriptions","organizations_url":"https://api.github.com/users/DanBurton/orgs","repos_url":"https://api.github.com/users/DanBurton/repos","events_url":"https://api.github.com/users/DanBurton/events{/privacy}","received_events_url":"https://api.github.com/users/DanBurton/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T21:34:08Z","updated_at":"2015-03-18T21:34:08Z","body":"I've made the cabal.config generation code slightly more robust, so no matter what we make approot or urlRenderOverride do, it should correctly convert it to http.\r\n\r\nI recommend making the approot `//www.stackage.org` with no scheme, or alternatively, using ApprootRequest to generate a scheme that always matches the request."}}