this post was submitted on 19 Apr 2024
423 points (97.3% liked)
Television
4604 readers
25 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://jellyfin.org/docs/general/networking/nginx/
Just use nginx as a reverse proxy. Note- this assumes you have a domain name or can at least use duckdns or similar and open ports at the edge of your network.
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!
Never used Caddy, but if you're running a variety of services Traefik also is pretty easy to deploy, especially if you're using Docker containers. You can set it up to use let's encrypt fairly easily to handle all the SSL stuff.
Caddy has a docker labels plugin so you can use it similarly to how you use traefik. I have a github repo with an action that automatically runs I think the first of every month that checks for Caddy updates and builds the new caddy docker image with the plugins I want automatically.