How to add ssl to non-www domain?

Redirect whichever domain isn’t configured at Discourse using a Page Rule. No additional configuration on the Discourse server.