Hello everyone,

I currently have Jellyfin running through Caddy and Cloudflare as reverse proxies.

I have tried everything and can’t seem to get Jellyfin to report anything but the Cloudflare IP for clients.

Does anyone have a similar setup and could help me troubleshoot this? I can share whatever configs I am using as required.

Thanks!

  • Scott@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    5 months ago

    Be careful about using video over the cloudflare proxy, they will come after you if you are using a TON of bandwidth

    • notdeadyet@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      Do you know of a way to have a global caddy setting to only allow Cloudflare IPs, but “exempt” Jellyfin?

      (I posted my caddy cloudflare section down below which only works as a global setting)

      • Scott@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        5 months ago

        You would change it from orange cloud to gray cloud to disable the proxy in your domain DNS settings.

        Specifically for the jellyfin subdomain.

        That would be the correct solution IMO.

    • Auli
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      I thought that is was not against their TOS now.

      • Scott@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        5 months ago

        I haven’t heard any such thing unless you are paying for their video CDN which isn’t cheap