HTTPS support - Error Embedding

I think that what you want to do is to make both sites https only. On Discourse you can turn on the force https site setting.