Hi, all - I have an issue where if I enable the
force_https option (after ensuring everything is on https), I am unable to:
- change any settings,
- log out (clicking log out does nothing),
- or login (sso redirect just takes to logged out home page).
I thought it was a fluke or something I broke initially, so I destroyed the app, dropped all the data, and bootstrapped/started the app again.
With the new app, everything was working great again; I was able to restore from backups, configure all my logos, adjust different settings (change email notification settings, adjust title, customize theme css, etc.), and that there were no SSL errors and brand images were loading in fine.
However, as soon as I enabled the
force_https option again, the I started to get all the 403 errors again.
This time I went into the container and disabled the
force_https option via the CLI, using:
/var/discourse/launcher enter app rails c SiteSetting.force_https = false
As soon as I disabled the option, everything on the site started to function again.
I tried looking through the logs (
site_url.com/logs), but there didn’t seem to be much in there other than:
Error: Forbidden Url: https://site_url.com/assets/ember_jquery-1d5617356dd43f27b8adbf60ccb854a1f5992b9b9f9e51e32ea7287fc9eeb25b.js Line: 1 Column: 262166 Window Location: https://site_url.com/admin/plugins/chat/discord
which was from an earlier time when I was changing some settings for the discourse-chat-integration plugin.
I am not sure where to go from here and would appreciate any suggestions.