HTTPS doesn't work when installing Discourse in a subfolder (Ubuntu 20 and Plesk)

I have Ubuntu 20 and Plesk. I install Discourse in a subdomain using docker. I followed post instructions and I can install discourse with http, but when I try to activate the admin user the page doesn’t load properly because the javascript files are not loaded.
If I try to to install with https I have problems with loading the certificate.
Someone managed to install Discourse with HTTPS?

Discourse installs with https just fine, but as you can see above discourse with plesk isn’t officially supported.

I think that you need to turn on force_https. One way to do that is with an ENV

 DISCOURSE_FORCE_HTTPS: true

Thanks!
After several attempts I installed discourse without the https template. After the installation finished I enabled using Plesk https certificate. It works!

2 Likes