-
Since I already have Nginx Proxy Manager running separately, I removed the caddy sections from the docker compose and opened port 80 and 3301 on the API and front end:
Looking at the docker logs, there are no errors or any indication anything is failing. In Nginx Proxy Manager, I created a new proxy host set to forward the get5 subdomain to the local IP on port 80 (192.168.1.105:80). Then I added a custom location for the API that points the location "/api/*" to 192.168.1.105:3301 I'm able to get to the homepage, but as soon as I click "Sign in through STEAM" it redirects me to "https://get5.domain.com/api/auth/steam" which is just a blank Get5Vue page. I still see the header and footer, but no content in the middle. If I manually go to 192.168.1.105:3301 in a browser, I do get to the steam sign in page. When I click "Sign in" though, I go back to the same empty Get5Vue page, but this time the URL includes a /return? after /steam and a bunch of auth stuff Not sure what the issue is, I see no errors in the browser console or the docker logs for any of the containers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hmm. This may be a configuration issue. I know my public panel is behind a separate Caddy reverse proxy. I think I still kept the proxy in the docker compose file, and just dropped the reverse proxy on a different port and used my reverse proxy that's public facing to point to it. For example:
And my reverse proxy that's public facing looks like this
I think this could be consolidated into one caddy tag, but I've found that this works with minimal modifying of the compose file. It's odd, and a bit hacky, but I do remember having some issues when removing the reverse proxy from the docker compose, and this seemed to fix it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Ok I was able to get it working without the caddy container. This is the config that worked for me (Might be worth adding to the documentation? I know nginx proxy manager is pretty popular):
Same docker compose as above, so caddy removed and port 3301 and 80 opened
Create the proxy host like normal, then add this under the "Custom locations" tab. Note the forward slash after the IP, that is important
In the "Advanced" tab, add this:
The trailing slash in the custom location is essentially the "uri strip_prefix /api" line in the caddy config, and the config under "advanced" is the "redir /api /api/" line
This might have been obvious to someone wh…