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

Self-Hosted Main

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

you are viewing a single comment's thread
view the rest of the comments
[–] [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.