grist-core: [bug] Grist self-hosted is not compatible with SSL
Hi all and happy New Year!! Sorry to begin 2022 with a bug report ;o))
- I have taken advantage of the holidays to switch all our self-hosted applications to SSL, using Nginx Proxy Manager and the free Cloudflare infrastructure.
- Everything worked just fine for most of our apps except for Grist.
- I am using the very last version of Grist Core (continuously updated with Watchtower)
- When accessing Grist from the newly created https address I arrive an error page:

- If I click Go to man page, nothing happens
- If I select Sign in from the upper right menu, I get this error:

And the browser Console log says: Failed to load resource: the server responded with a status of 502 ()
Please help as I would like to allow other employees to access our main worksheets that have all been transferred to Grist.
PS. I can send you logs on your private email address if needed.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (11 by maintainers)
@paulfitz Removing the quotes to
APP_HOME_URL=https://mydomainhelps resolve the issue. The app works as expected. Many thanks.@ovizii good point. We have an internal list for our hosted service, here’s a quick stab at pulling out the relevant parts.
Grist environment variables
Grist is sensitive to several environment variables. Here is a list:
Database variables:
Grist hosting:
Sandbox related variables:
OK, will try and let you know