Go to Admin > Settings and turn on force https. If HTTPS doesn’t fully work on your site, this can break things. Make sure you can access your site over HTTPS before turning this on.
Without this setting, Discourse will load images and other site content as HTTP, causing mixed content warnings on a secure instance.