• 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 Error using Caddy/ reverse proxy

     
    • 0 Vote(s) - 0 Average

    Error using Caddy/ reverse proxy

    White screen when trying to access jellyfin via Caddy
    hellermyotomy
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #1
    2024-02-21, 05:48 PM
    Hi, 

    I’m using docker on debian 12 server. 

    Running latest version of jellyfin of port 8099 (mapped to internal port 8096. I can access it via http://externalip:8099 and it works fine. Remote access enabled. 

    Caddyfile had the following: 

    }

    jellyfin.domain.com {
        reverse_proxy jellyfin:8099

    When I trying to access using https://jellyfin.domain.com I only get a white screen. 

    My other docker containers such as plex etc are accessible on the custom domains using the exact same method. 

    Any help would be appreciated thanks.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-02-21, 06:09 PM
    Is your DNS setup to resolve "jellyfin" internally? What happens when you put in the LAN IP or "localhost" instead?
    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]
    hellermyotomy
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #3
    2024-02-22, 10:51 AM
    (2024-02-21, 06:09 PM)TheDreadPirate Wrote: Is your DNS setup to resolve "jellyfin" internally?  What happens when you put in the LAN IP or "localhost" instead?

    Do you mean adding an A record the points my domain to the server DNS? I’ve done this. Also, it does not work with IP or localhost either.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-02-22, 05:02 PM
    Are you using a wildcard cert? If not, does your cert include jellyfin?
    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]
    hellermyotomy
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #5
    2024-02-23, 07:52 AM
    (2024-02-22, 05:02 PM)TheDreadPirate Wrote: Are you using a wildcard cert?  If not, does your cert include jellyfin?

    Normally I don’t do anything else apart from point the domain name towards my IP and then add the above text to my Caddyfile and everything works. It’s only Jellyfin that won’t work and just gives a blank screen. Jellyfin is also reachable via ip:port so I’m not sure if it’s something within Jellyfin settings that I need to amend. Remote server is enabled.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-02-23, 04:54 PM
    I'm not too familiar with Caddy. It really should be as simple as typing in http://jellyfin.domain.tld (no port 8099) in your browser, and having caddy proxy to Jellyfin port 8099.

    I found these Caddy forum posts that are very similar to yours.

    https://caddy.community/t/reverse-proxy-...reen/13303
    https://caddy.community/t/blank-page-loa...roxy/15176

    Also, since you are using caddy, you should turn OFF port forwarding on port 8099 so that your Jellyfin server is not directly exposed to the Internet.
    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