• 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 Reverse Proxy Troubleshooting

     
    • 0 Vote(s) - 0 Average

    Reverse Proxy Troubleshooting

    NGINX Reverse Proxy + Jellyfin Connection Issues
    ToasterTom9737
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #1
    2025-04-04, 07:38 PM
    Hi all! I'm trying to setup Jellyfin to be accessible outside my home network with NGINX Reverse Proxy. This is my first foray into networking lol. 

    The problem I'm having is that I see the "Add a Server" screen instead of the login screen when I go to the domain I have specified for the Jellyfin server. I would like to have the login screen just appear when I use the domain url. I can access the Jellyfin server just fine over LAN. 


    Here's more details on my setup:
    - I'm running NGINX Reverse Proxy (NPM) and Jellyfin using the Docker-Compose plugin in Open Media Vault 7 (OMV).
    - Both NPM and Jellyfin containers are on the same bridge network.
         - nginx, the nginx db, and jellyfin containers all appear with their IP addresses when I use docker inspect on the bridge network.

    - I'm using DuckDNS to get a domain to use.
         - I'm using my public IP for that and have a script in OMV to check for updates.

    - I set up my proxy host in the NGINX web gui and have SSL certs using Let's Encrypt.
         - I'm using the Jellyfin container name + port 8096 instead of my host server's ip address to set up the Proxy host. (I have also tried using the Jellyfin container's ip address instead of the name.)

    - I have ports 80 and 443 forwarded on my router to the host server IP. 

    Any help is appreciated! I'm attaching my Jellyfin Docker Compose file below. Please let me know if I can provide more details. Thanks!


    .txt   Jellyfin Compose 2nd Draft.txt (Size: 655 bytes / Downloads: 34)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-04-04, 09:22 PM
    If you've previously accessed your jellyfin server directly from the browser that saw "Add server", that is not unusual.

    When you access your Jellyfin, one of the pieces of information your server sends is an ID.

       

    Jellyfin caches a bunch of data in your browser, including this ID.  If you access your server with a different address, but it sees the same ID, "Add a server" is what you'll see.

    If someone accesses your server for the first time, which means it hasn't cached any data or IDs, they would see the login prompt.
    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]
    ToasterTom9737
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #3
    2025-04-06, 11:26 PM
    Thanks for your reply TheDreadPirate! Based on your feedback I did the following steps:

    - I used the Firefox mobile app on an iPhone to test the connection off my network (using cellular data). I tried clearing the browsing data and am still seeing the "Add Server" screen after I closed the tab and reopened one in Private Browsing.

    - I cleared the browsing data in Firefox on my Mac and tried to access the url while I was on a hotspot. That result said that it couldn't connect to the server at all.

    I guess my phone still has a cache somewhere I missed? (I have the Swiftfin app on the same phone so maybe that's interfering somehow?)

    The same url I'm using works fine on the local network, even when I clear my browser data. It goes straight to the login screen on LAN.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-04-07, 12:35 AM (This post was last modified: 2025-04-07, 12:35 AM by TheDreadPirate.)
    Did you check "allow remote connections" in the jellyfin settings?

    Also, can you share screenshots of the nginx config? 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]
    ToasterTom9737
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #5
    2025-04-07, 09:07 PM (This post was last modified: 2025-04-07, 09:07 PM by ToasterTom9737.)
    Thank you! I think checking the "allow remote connections" was it! I was able to go straight to the login screen from my firefox browser while my phone was on cellular. I was able to confirm that someone else on a different network was able to see the login screen too. I didn't think I needed that box checked as I thought the NPM handoff wasn't remote.

    For some reason I am still not able to connect when I try to use my laptop while on a hotspot. I tried my firefox and safari browsers to no avail. This is not really an issue if others can see it because I can connect on LAN.

    Any ideas? The only thing I can think of is my browser settings and I played around with those. That didn't work either.
    Balinus
    Offline

    Junior Member

    Posts: 26
    Threads: 4
    Joined: 2025 Feb
    Reputation: 0
    Country:Canada
    #6
    2025-04-08, 12:56 PM
    For your laptop, did you try using your cellular data as the "hotspot"? Or did you only tried on a public hotspot?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2025-04-08, 02:11 PM
    When on the hotspot, do you see anything in the browser?
    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]
    ToasterTom9737
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #8
    2025-04-10, 02:41 AM
    Balinus, I'm using my cellular data as a hotspot on my laptop.

    TheDreadPirate, on both Safari and Firefox it says "Can't find/connect to the server" when I try to go to the URL.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2025-04-10, 01:15 PM
    Are you able to do a traceroute/tracepath from your laptop while on the hotspot to your domain? I can't think of a reason why cellular directly on the phone works, but not when being used as a hotspot.
    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]
    « 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