this post was submitted on 17 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

502 readers
4 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I'm trying to set up a Jellyfin server, with a reverse proxy so I can access it via external networks. I can't get the reverse proxy to work no matter what I try! Tried caddy, nginx, and apache2. My system is Ubuntu 22.04 arm64. Would anyone be willing to give me a pointer or even help me set it up? Could totally compensate for the effort haha.

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago

The easy way is using a SWAG Docker container.

[–] [email protected] 1 points 11 months ago (1 children)

Edit: I should mention that I'm not trying to use a domain or anything

Sorry how are you trying to access Jellyfin here?

  1. http://VPS_IP:8096

  2. http://DuckDNS_address:8096

[–] [email protected] 1 points 11 months ago

I've tried both.

[–] [email protected] 1 points 11 months ago (1 children)

How exactly do you plan to use a reverse proxy without a domain name? By it's very nature, a reverse proxy by default works with a domain/subdomain name.

I'd suggest you look up some docs/tutorials about DNS, Web server, Reverse Proxy etc. Looks like you got no clue on what you're doing.

[–] [email protected] 1 points 11 months ago (1 children)

Yes. I have a .us domain, and I have a domain with DuckDNS but I wasn't able to get those working either. I just meant if possible I'd like to be able to still connect in the browser via ip instead of having to use the domain.

[–] [email protected] 1 points 11 months ago

Is your public ip dynamic or static? Does your domain point to your proper public ip? Do you have ports 80 and/or 443 open to the public? Does your reverse proxy listen to your publicip:80 and 443? Is your connection under a CGNAT?

You leave a lot of questions unanswered. Just stating 'it doesn't work' doesn't help to troubleshoot.

[–] [email protected] 1 points 11 months ago (1 children)

Why do you need a reverse proxy? You don't need one to access Jellyfin externally. People use them to simply fit access when running more than one service.

I'd get it up and running locally first before trying it on a vps.

[–] [email protected] 1 points 11 months ago

I can get it running but I still can't access the server via http://localip:8096 on an external network.

[–] [email protected] 1 points 11 months ago

I have Jellyfin working just fine with nginx proxy manager. Let me know if you need me to help.

[–] [email protected] 1 points 11 months ago

In my setup on Linux Mint with Jellyfin and duckdns, Simply installed caddy reverse proxy and added Dns domain (with https://) and reverse proxy of my local ip

[–] [email protected] 1 points 11 months ago

Try nginx Proxy Manager or cosmos

[–] [email protected] 1 points 11 months ago

For your reverse proxy, you do want to have a domain and point it to the IP of your VPS with an A record. This is done in the DNS section of your domain provider. Basically, publish a DNS record that says jellyfin.yourdomain.com has as a target the public IP.

Use apache2 as a reverse proxy. You basically need to copy the files in the Jellyfin documentation. But start by just creating a reverse proxy file, which you can use to get the Let Encrypt certificate for your domain.

Enable the site this file first:

ServerName jellyfin.yourdomain.com ProxyPreserveHost On ProxyPass /.well-known ! ProxyPass / http://localhost:8096/ ProxyPassReverse / http://localhost:8096/

Try to reach it from the browser using the subdomain. Let me know if you need more help after that.

[–] [email protected] 1 points 11 months ago

Question, what is your network topology?

I assume you have a local DNS running to route your "local" requests....

Can you connect to jellyfin directly? When you try to connect to the nginx proxy. Do you get the nginx landing page?

I have gone through this whole fiasco recently and maybe able to help.