Trying to reverse proxy, setting baseurl results in web error - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: Trying to reverse proxy, setting baseurl results in web error (/t-trying-to-reverse-proxy-setting-baseurl-results-in-web-error) |
Trying to reverse proxy, setting baseurl results in web error - BenJeremy - 2024-03-23 AS the title says, I just set up Jellyfin on my Ubuntu server. I have Apache2 with a Lets Encrypt cert exposed (no-ip.org dynamic name). I havchrome gicves me: ""e a lot of web apps working great through the reverse proxy, and yes, I followed the directions on the Jellyfin docs. When I set the baseurl in network settings, the page refreshes, and even gets the redirect with the /jellyfin prefix, but chrome gives me: "No webpage was found for the web addresseb", whether I'm local or external. It actually does a redirect on the URL path, too. Editing the network.xml file and restarting it "fixes" it locally. I'd really like to get this working as https://mydomain.no-ip.org/jellyfin (same as my 5 other apps, which work fine) This seems like a specific Jellyfin issue. Any ideas? RE: Trying to reverse proxy, setting baseurl results in web error - TheDreadPirate - 2024-03-24 You also updated your Apache config? Can you share your Apache config with us? Censor the domains. RE: Trying to reverse proxy, setting baseurl results in web error - BenJeremy - 2024-03-24 (2024-03-24, 12:12 AM)TheDreadPirate Wrote: You also updated your Apache config? Code: # The ServerName directive sets the request scheme, hostname and port that This is exactly out of the Jellyfin docs. As I said, it also fails to work locally after changing the base url to /jellyfin The settings page, after saving the change, cycles then displays redirects to the same location, with the new baseurl prefixed... and the chrome error. The home page goes from: Code: http://mediaserver.local:8096/web/index.html#!/home.html to: Code: http://mediaserver.local:8096/jellyfin/web/index.html#!/home.html So it's not a problem with the Apache configuration, I think. If the local is failing to display a web page, the reverse proxy will simply echo that. RE: Trying to reverse proxy, setting baseurl results in web error - TheDreadPirate - 2024-03-24 Adding a trailing slash after Jellyfin in this section Code: <Location /jellyfin/> This worked for another user. They were running Nginx, but the concept may still apply. https://forum.jellyfin.org/t-solved-solved-blank-white-page?pid=13202#pid13202 If this works for you, I will research it and update our docs appropriately. RE: Trying to reverse proxy, setting baseurl results in web error - BenJeremy - 2024-03-24 (2024-03-24, 01:24 AM)TheDreadPirate Wrote: Adding a trailing slash after Jellyfin in this section This did not work. As noted before, it does the redirect... https://xxxxxxxxx.no-ip.org/jellyfin/web/index.html when going to https://xxxxx.no-ip.org/jellyfin but "No webpage was found" for thee index.html Same goes for local, as well. I get the redirect inserting the baseurl, but same chrome error. I do not think this is an Apache issue. |