Forced https
akrly opened this issue · 2 comments
Hi,
Great app first of all! I've got some experience, but am not professionally trained.
I tried to self-host on a raspberry pi using the docker-compose file. Everything looks good in the docker logs, but I get a secure connection error when I try to access the UI.
This is what I get when I manually change to http from https. However, all the links on this page will direct to a secure site.
I used the provided files to setup the containers. Didn't change anything apart from the db_username so they match. I tried to access the site locally.
Any help is much appreciated. I hope I gave enough info to describe my problem.
I had a similar issue but fixed it by adding the APP_ENV=production
environment variable to monica, as documented in the readme. The stylesheets were then available over HTTPS.
That means your reverse proxy isn't working 100%. You can also set APP_TRUSTED_PROXIES
environment variable with the ip addresses of your proxy / webserver, or with *
.