NGINX Reverse Proxy Redirect Looping - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: NGINX Reverse Proxy Redirect Looping (/t-nginx-reverse-proxy-redirect-looping) |
NGINX Reverse Proxy Redirect Looping - william- - 2024-03-13 Hey all! I've got jellyfin and nginx both running in separate containers on the same machine and I'm having a hard time getting nginx to pass requests back to jellyfin properly. I want to be able to access this at apps.home/jellyfin. The initial visit seems to work correctly, but then the redirect to /web/index just keeps redirecting over and over again forever. I have set the base url setting in jellyfin to be "/jellyfin". I've tried removing the trailing / on proxy_pass http://apps.home:8096;, but then I just get 404 from nginx. Any thoughts?
RE: NGINX Reverse Proxy Redirect Looping - TheDreadPirate - 2024-03-14 You can't use the apps.home as both the server_name and the proxy pass address. For the proxy pass you need to provide an IP or, if you're using a host name, you need to provide a resolver. RE: NGINX Reverse Proxy Redirect Looping - william- - 2024-03-17 I forgot to mention that I have a local dns record setup for apps.home. Turns out that my configuration above did work, I just needed to restart the jellyfin container for the base url to work correctly. |