• 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 SOLVED: Problems with Caddy

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SOLVED: Problems with Caddy

    Strange errors when reverse proxying Jellyfin with Caddy
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2025-04-16, 03:43 PM
    A couple of things.

    1) You can remove the extra_hosts section. That is only required when using host networking so that health checks work.
    2) Give jellyfin a static IP and explicitly set the hostname. And I recommend using jellyfin bridge IP for the caddyfile.

    Code:
    jellyfin-prod:
        image: ghcr.io/jellyfin/jellyfin:10.10.7
        container_name: jellyfin-prod
        hostname: jellyfin
        user: ${MEDIAUSER}:${MEDIAUSER}
        group_add:
          - '${RENDER}' # Intel render group
        networks:
          blackmoon:
            ipv4_address: 172.16.100.10
        expose:
          - 8096
        volumes:
          - ./jellyfin-prod-data/config:/config
          - ./jellyfin-prod-data/cache:/cache
          - /media/ramdisk:/media/ramdisk
          - /media/library:/media/library:ro
          - /media/library/liveTV:/media/library/liveTV:rw
        devices:
          - /dev/dri:/dev/dri
        environment:
          - TZ=${TZ}
        restart: unless-stopped

    Ignore the "expose" section. My reverse proxy runs directly on the host and expose is required to make it accessible outside of the bridge network, but without port publishing on the host.
    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]
    MassiveA
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Italy
    #12
    2025-04-16, 06:03 PM
    Ok thank you, I will give this a try.
    MassiveA
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Italy
    #13
    2025-04-17, 09:08 AM (This post was last modified: 2025-04-17, 09:09 AM by MassiveA. Edited 1 time in total.)
    Hi, so I've implemented the changes you recomended, I also went in the networking settings in Jellying and assigned to the Known Proxys section the static IP I assigned to Caddy in the compose. I tried briefly streaming something remotely and I think the situation is improved a lot, to the point where I would think it is probably solved. Caddy is still giving the http2 stream closed warn. But honestly if it was like this from the beggining I wouldn't have checked. Here is the new configuration.

    https://pastebin.com/LeUkWkDP
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2025-04-17, 01:12 PM
    Someone else posted that Caddy HTTP2 warning a couple weeks ago and, AFAICT, it was unclear if this is an actual problem or not as it didn't cause any noticeable problems.

    I couldn't find a clear answer on Caddy's forum either.
    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]
    MassiveA
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Italy
    #15
    2025-04-17, 01:25 PM
    Well, thank you very much, I'm marking this as solved,
    Pages (2): « Previous 1 2

    « 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