I had the same issue. I have a Discourse instance behind HAProxy with SSL termination. The fix is pretty simple, but not obvious:
- First make sure that “force https” is enabled in the settings (go to Settings and filter by “force https”).
- Go to Settings > Branding > and just re-upload your logos.
- Everything should use HTTPS now (be sure to hit your browser refresh button).
(I think this may be a bug in Discourse)