Le site Discourse se charge via l'IP mais n'affiche que l'en-tête via le domaine

You’ll need an SSL certificate; I recommend following the Set up HTTPS support with Let's Encrypt guide to get a free SSL certificate for your site.

First though, you ought to verify that the ember_jquery.js file is complete when loaded directly from the IP instead of via CF.