this post was submitted on 28 May 2024
10 points (85.7% liked)

Selfhosted

38768 readers
117 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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!

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 months ago* (last edited 2 months ago)

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.

[–] [email protected] 3 points 2 months ago

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