• 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

     
    • 0 Vote(s) - 0 Average

    SOLVED: Problems with Caddy

    Strange errors when reverse proxying Jellyfin with Caddy
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    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]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Problems with Caddy - by MassiveA - 2025-04-14, 08:21 PM
    RE: Problems with Caddy - by TheDreadPirate - 2025-04-14, 08:41 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-14, 08:47 PM
    RE: Problems with Caddy - by TheDreadPirate - 2025-04-14, 09:27 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-15, 02:29 PM
    RE: Problems with Caddy - by TheDreadPirate - 2025-04-15, 02:51 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-15, 03:41 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-16, 02:40 PM
    RE: Problems with Caddy - by TheDreadPirate - 2025-04-16, 02:56 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-16, 03:26 PM
    RE: Problems with Caddy - by TheDreadPirate - 2025-04-16, 03:43 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-16, 06:03 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-17, 09:08 AM
    RE: Problems with Caddy - by TheDreadPirate - 2025-04-17, 01:12 PM
    RE: Problems with Caddy - by MassiveA - 2025-04-17, 01:25 PM

    • 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