Jellyfin behind Caddy on an other server using internal tls

I found the solution.
With all my research, I did a lot of things.
There were two problems in my configuration:

  • DNS: I didn’t redirect to the right IP address
  • Backend Caddy file: the line tls internal made the website blank.

In the end, my frontend caddy file looks like this:

jelly.billkidd.fr {
        reverse_proxy https://jelly.roadrunner {
                header_up Host {upstream_hostport}
        }
        log {
                output file /var/log/caddy/jellyfin-access.log
                format transform "{common_log}"
        }

And my backend caddy file looks like this:

jelly.roadrunner {
        reverse_proxy localhost:8096 {
        }
        log {
                output file /var/log/caddy/jellyfin-access.log
        }
}

Thank you very much for your help @francislavoie

1 Like