Closed henriquevcosta closed 1 year ago
OK after setting some env variables it seems to work, maybe they need to be in the documentation.
I set:
Hope this helps others
Only setting APP_ENV to "production"
works for me.
Closing this one now, thank you.
I have Monica running in a docker container with a Traefik container performing the SSL termination. Assume my domain is potato.com in the description below.
https://monica.potato.com
I am redirected to the dashboard page, and am able to create the first user. However, the style's all broken and the form submission generates a browser warning saying it's unsafehttp://monica.potato.com
and indeed if I open the source of the dashboard page I see the belowIs there something else that needs to be configured in the container for this to work well? Maybe something that lets apache know that although what's reaching it is an http request it should use https URLs? I don't think it makes sense to be doing body rewrites in Traefik to address this, but I'm very ignorant of PHP+Apache so I have no idea what I'd need to get this working. Happy to provide more info if needed.