this post was submitted on 19 Apr 2024
422 points (97.1% liked)
Television
4596 readers
16 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
You're doing the Lord's work. I wish I could get jelly fin working the same way. I haven't been able to figure out how to access it outside my home network
I looked into exposing jellyfin and holy shit get ready for a new full time hobby in network security if you try.
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!
I've never worked with it but have heard great things.
I didn't know if it handled whatever fancy stuff jellyfin had on the nginx reverse proxy page but if it does, this certainly eases the path to external access.
This is the sharing the internet was made for, thanks for the suggestion. Jellyfish has been giving me trouble so I’m just torrenting each show individually but I want to build up a library
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.