Closed Phrenzy closed 5 years ago
Could you pastebin your reverse proxy settings? Also, check here to make sure Grocy is configured appropriately for reverse proxy (otherwise it'll try and serve content over http and https and this leads to what you're describing)
Set BASE_URL
in /config/data/config.php
to the right URL and see if it works?
docker run -d --restart unless-stopped -e PGID=1000 -e PUID=1000 -e TZ=TZ="America/Los_Angeles" --name=grocy -v /opt/grocy/config:/config -p 9283:80 linuxserver/grocy
Probably not connected, but you got your TZ variable wrong. Remove one of the TZ=.
Remove one of the TZ=. Sorry about that. That was a boo-boo in my notes I didn't fix. The container wont start like that.
This is still a problem when trying to use Apache to reverse proxy. The result is the website showing up in white with text. Under inspect elements in Google it shows mixed content warnings. When allowing Google to ignore mixed content issues by having the site to non https everything looks normal. However, when trying to login as admin admin the website just says at the login screen.
No one within the team uses Apache to reverse proxy so we aren't able to help with that. We have a template for our letsencrypt container waiting to be PR'ed.
I figured it out for the most part so far here is what worked for me
Looks like @Phrenzy has sorted this out, closing.
I'm running an image of this container on one VM and I have a other VM running nginx as a reverse proxy. Nginx is configured to redirect to https using Let's Encrypt.
Grocy will operate normally if I connect directly to the VM running the container. If I connect to via the reverse proxy, I get the text but the page looks like CSS is disabled. The address bar lock has a warning the connection is not secure. When I disable the security, that allows the framework to be applied and the site looks mostly normal. However, there are no images.
Thanks, team linuxserver.io