I set up Nginx Proxy Manager, and one of my services I want to serve is my Jellyfin which is hosted on another machine. Instead of Proxying the stream though, it’d be easier on the network to use the Nginx Stream module for facilitating that, I would expect.
The issue I’m facing is it seems like the only way to set up Nginx Stream is based on port, rather than by domain, and if I want to do it based on domain, I’d be proxying the data instead.
Is there any way to Stream to my Jellyfin rather than Proxying?
Thanks!
The Jellyfin streaming has been designed with HTTP so I don’t think it will benefit from a TCP proxy. Plus as you’ve noticed with TCP you lose the ability to route by domain name.
TCP streams don’t have any concept of hostname.
I would test it both ways and see if there’s actually a measurable difference. I have Jellyfin behind Traefik and I don’t have issues.
Also, Jellyfin docs do have a page on using nginx: https://jellyfin.org/docs/general/networking/nginx