I’m here to recommend Caddy instead of Jellyfin. It’s way easier to set up and just as performant. Example Caddyfile below (assuming they’re in the same Docker network and your Jellyfin container is named jellyfin):
That’s it! I highly recommend Caddy! It handles https automatically so you don’t have to worry about SSL certs or 301 redirects from https to https at all!