• 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 Accessing Jellyfin through caddy

     
    • 0 Vote(s) - 0 Average

    Accessing Jellyfin through caddy

    schieslu
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:Germany
    #1
    2023-08-22, 12:29 PM (This post was last modified: 2023-08-22, 12:57 PM by Venson. Edited 1 time in total.)
    Hello everyone,

    I am a bit of a newbee and I'd like to run Jellyfin on my home server in a docker container. This works great locally, but since I want it to be accessible over the internet, I set up a caddy docker container to act as reverse proxy.
    I've set up my portforwarding of ports 443 and 80 in my router, and have a public domaine pointing to my private ip. When I try to access my Jellyfin Instance over the local network everything works just fine. However when I try to access it over the public domain I get redirected to this path: "https://mydomain.com/web/index.html" which shows me a white page. I am quite confused by that. The logs of the caddy container do not show any error messages and when I look up the logs of the jellyfin instance it doesnt show anything at all.

    My docker compose file looks like this:

    Code:
    version: '3.5'
    networks:
      caddy_jellyfin_network:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        group_add:
          - "109"
        container_name: jellyfin
        networks:
          - caddy_jellyfin_network
        ports:
          - 8096:8096
        volumes:
          - ./config:/config
          - ./cache:/cache
          - ../Media/disk1:/media/disk1
          - ../Media/disk2:/media/disk2
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        restart: 'unless-stopped'
      caddy:
        image: caddy
        container_name: caddy
        ports:
          - "80:80"
          - "443:443"
        volumes:
          - /home/schieslu/Caddy/Caddyfile:/etc/caddy/Caddyfile:ro
        networks:
          - caddy_jellyfin_network
        restart: unless-stopped


    and my Caddyfile like this:


    Code:
    mydomain.com {
            reverse_proxy / jellyfin:8096
    }


    Am I missing something? Any help would be appreciated
    « 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