Self-Hosted Grist Core + Nginx Proxy Manager /w Authelia

Hello,

I have been able to get grist up and running on my unraid server behind a reverse proxy. I have cobbled together different instructions and resources from this forum, github and of course the help section from Grist on self-hosted grist.

I was able to follow this great post in the forums, and this older example in support, along with other sources to have defined users automatically assigned based on Authelia login emails through Nginx proxy manager.

I feel like I have tried everything, and the site appears to be working, but my OCD is going crazy with the checks failing in ā€˜adminā€™ in the image below. How can I find out what I am missing?

From what I can tell from any github or forum post for this and similar proxies, I am passing the required headers. Does this check even matter?

I tried turning on logs, but I donā€™t see anything that stands out when I load the admin page.

Hello,

I have a guess as to what the problem could be. There recently was a change to simplify setting up Grist, but the admin self-tests are incompatible with this change. This may be a minor bug on our side that we have to correct.

These failing tests should be harmless, but I suspect that if you set the environment variable APP_HOME_URL equal to the base URL of your Grist instance, these tests should now pass.

I would be grateful if you could confirm that this works for you.

1 Like

Thanks Jordi! Unforunately, I have had that variable set for a while.

I donā€™t have a handy docker compose to paste since iā€™m in Unraid, but hereā€™s a list of my current environment variables:

ā€œGRIST_SANDBOX_FLAVORā€ = gvisor
ā€œGRIST_DEFAULT_EMAILā€ = set to my user email
ā€œAPP_HOME_URLā€ = https://grist.mydomain.tld
ā€œGRIST_SESSION_SECRETā€ = secret string
ā€œGRIST_FORWARD_AUTH_HEADERā€ = Remote-Email (Autheliaā€™s header of choice for email)
ā€œGRIST_DOMAINā€ = grist.mydomain.tld
ā€œAPP_DOC_URLā€ = https://grist.mydomain.tld
ā€œGRIST_FORCE_LOGINā€ = true
ā€œGRIST_SINGLE_ORGā€ = org