Hello
If so, the force_https
site setting is automatically enabled. This is a hidden site setting that you can change in the rails console. It might not be enabled somehow
Give it a try
cd /var/discourse
./launcher enter app
rails c
SiteSetting.force_https=true
exit