• 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 Can't get Apache to reverse proxy to Jellyfin

     
    • 0 Vote(s) - 0 Average

    Can't get Apache to reverse proxy to Jellyfin

    Apache doesn't redirect to jellyfin correctly.
    roomtin
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #1
    2024-06-20, 03:26 PM
    Hello. I'm trying to get apache2 on debian to be a reverse proxy so that I can connect to jellyfin remotely over https. The problem I'm encountering is that instead of loading jellyfin when I visit my https domain, I get the root apache2 directory that has a few other things in it I'm hosting. I can visit jellyfin locally through the web client using the internal IP of my home server just fine. I followed the apache2 guide here and replaced only the DOMAIN-NAME and SERVER-IP-ADDRESS instances with the correct information. One difference though is that I'm using a subdomain (e.g. media.mycoolserver.com) because I'm hosting other things at my domain, so I've included that full subdomain+domain in the places that asked for the DOMAIN-NAME, but I didn't think it would cause any difference.

    I did also need to create the /var/www/html/jellyfin/public_html directory and give apache access to it, but there's nothing in it.

    I've run sudo a2ensite for my .conf file in sites-available, and installed all the apache2 addons the jellyfin guide suggests.

    systemd doesn't show any errors after reloading apahche2.

    I've correctly set up a cert for my subdomain and it's at the location the jellyfin apache2 guide expects.

    My uname -a:  Linux brrbox 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 2021-07-18 x86_64 GNU/Linux

    I'm unsure where to look next or what information might be relevant to solve the problem and would appreciate any suggestions. Please advise what other information I should share. Thanks.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-20, 04:03 PM
    Can you share your apache config via pastebin? Censor the domain name.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    roomtin
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #3
    2024-06-20, 04:56 PM
    Thanks for your reply. I was actually able to sort the issue myself. The problem was that I had some default apache2 configurations I never deleted that weren't being used, but were overriding something in my jellyfin config. If anyone else has this particular problem, you should check if you have VirtualHosts defined somewhere else in your apache2 configs that conflict or override your jellyfin one. Apache loads configurations in alphabetical order too, so that could cause some unintuitive behavior.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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