I have a Discourse forum at http://discourse.osmc.tv. It’s running a Docker instance in a virtual machine and has been fine.
I’ve tried migrating to SSL. As we serve multiple SSL sites from that IPv4 I can’t add the certificate and key and have nginx listen on 443. I’m using Pound, so I’ve added the key and certificate to that and I’m reverse proxying to HTTP.
I can now make posts (issues deleting though) and access everything via SSL. However I can’t change any settings under admin/ when I’m on SSL, but can if I access via HTTP. I’ve tried:
- Going to http://SITEURL/admin and changing the SSL enabled setting to ON. It’s now ON (what does this do? I’m still able to access the http:// so it doesn’t seem to be forcing redirects).
- Rebuilding the Docker instance
If I try edit a setting such as the Site Name and click the green tick, I’ll get ‘Sorry, an error occured’. I don’t see anything in my browser console, so I’m wondering the best way to debug this. I suspect the AJAX requests might be going via HTTP even though I’m on HTTPS – although that wouldn’t explain why posting functionality seems to work without too many problems.
Does Discourse support this? I want Discourse to realise I’m on SSL but let me terminate at Pound and proxy it this way.