• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Trying to reverse proxy, setting baseurl results in web error

     
    • 0 Vote(s) - 0 Average

    Trying to reverse proxy, setting baseurl results in web error

    BenJeremy
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:United States
    #3
    2024-03-24, 12:21 AM
    (2024-03-24, 12:12 AM)TheDreadPirate Wrote: You also updated your Apache config?

    Can you share your Apache config with us?  Censor the domains.

    Code:
    # The ServerName directive sets the request scheme, hostname and port that
    # the server uses to identify itself. This is used when creating
    # redirection URLs. In the context of virtual hosts, the ServerName
    # specifies what hostname must appear in the request's Host: header to
    # match this virtual host. For the default virtual host (this file) this
    # value is not decisive as it is used as a last resort host regardless.
    # However, you must set it for any further virtual host explicitly.
    #ServerName www.example.com

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
    # error, crit, alert, emerg.
    # It is also possible to configure the loglevel for particular
    # modules, e.g.
    #LogLevel info ssl:warn

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    # For most configuration files from conf-available/, which are
    # enabled or disabled at a global level, it is possible to
    # include a line for only one particular virtual host. For example the
    # following line enables the CGI configuration for this host only
    # after it has been globally disabled with "a2disconf".
    #Include conf-available/serve-cgi-bin.conf


    ServerName xxxxxxxx.no-ip.org
    SSLCertificateFile /etc/letsencrypt/live/xxxxxxxx.no-ip.org/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/xxxxxxxx.no-ip.org/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
    <Location /sabnzbd>
        order deny,allow
        deny from all
        allow from all
        ProxyPass http://localhost:8060/sabnzbd
        ProxyPassReverse http://localhost:8060/sabnzbd
    </Location>

    <Location /sonarr>
        ProxyPreserveHost on
        ProxyPass http://127.0.0.1:8989/sonarr connectiontimeout=5 timeout=300
        ProxyPassReverse http://127.0.0.1:8989/sonarr
    </Location>

    <Location /lidarr>
        ProxyPreserveHost on
        ProxyPass http://127.0.0.1:8686/lidarr connectiontimeout=5 timeout=300
        ProxyPassReverse http://127.0.0.1:8686/lidarr
    </Location>

    <Location /readarr>
        ProxyPreserveHost on
        ProxyPass http://127.0.0.1:8787/readarr connectiontimeout=5 timeout=300
        ProxyPassReverse http://127.0.0.1:8787/readarr
    </Location>

    <Location /radarr>
        ProxyPreserveHost on
        ProxyPass http://127.0.0.1:7878/radarr connectiontimeout=5 timeout=300
        ProxyPassReverse http://127.0.0.1:7878/radarr
    </Location>

    <Location /jellyfin/socket>
        ProxyPreserveHost On
        ProxyPass "ws://127.0.0.1:8096/jellyfin/socket"
        ProxyPassReverse "ws://127.0.0.1:8096/jellyfin/socket"
    </Location>
    <Location /jellyfin>
        ProxyPass "http://127.0.0.1:8096/jellyfin"
        ProxyPassReverse "http://127.0.0.1:8096/jellyfin"
    </Location>


    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
      (Working)

    to:

    Code:
    http://mediaserver.local:8096/jellyfin/web/index.html#!/home.html
      (Not Working)

    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.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Trying to reverse proxy, setting baseurl results in web error - by BenJeremy - 2024-03-23, 11:30 PM
    RE: Trying to reverse proxy, setting baseurl results in web error - by TheDreadPirate - 2024-03-24, 12:12 AM
    RE: Trying to reverse proxy, setting baseurl results in web error - by BenJeremy - 2024-03-24, 12:21 AM
    RE: Trying to reverse proxy, setting baseurl results in web error - by TheDreadPirate - 2024-03-24, 01:24 AM
    RE: Trying to reverse proxy, setting baseurl results in web error - by BenJeremy - 2024-03-24, 01:42 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode