Hi,
I use openlitespeed and install discourse by docker with reserve proxy
I can not force redirect from http to https, I try all this:
- Enable 
force httpsin admin - Set up app.yml
 
- replace:
     filename: "/etc/nginx/conf.d/discourse.conf"
     from: /server.+{/
     to: |
       server {
         if ($http_x_forwarded_proto = 'http'){
          return 301 https://$host$request_uri;
         }
- Set up htaccess to redirect
 
Could you help me this issue?