Jellyfin Forum
[Newbie] NginX for remote access? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: [Newbie] NginX for remote access? (/t-newbie-nginx-for-remote-access)



[Newbie] NginX for remote access? - bananasplit123 - 2024-11-02

hi, im very n00b about this, so apologies in advance. Firstly, i dont know how to work with docker.

i have a laptop (Windows10) where i want to create a server for jellyfin. I understand the guides to install jellyfin , but i dont understand how to create a remote access for it.

I want to share this server with a friend of mine and would like to ask which is the best way to create a remote access. I read about tailscale and looks easy, but wouldn't like have two apps on my phone - jellyfin and tailscale - just for enter to the JF server. Is the nginX the best way?

If so, how can i create nginX to remote access for my machine (windows10)? I read the docs of jellyfin site about nginX, but looks super complicated to me and dont understand how to do it.



Any advice? If someone could help me or chat with me, i will appreciate if someone share with me , via mp, your user id of matrix or discord. maybe this will more easy, dunno.

Other question is... can i access remotely to my server without internet?

thank you and wish you a great day


RE: [Newbie] NginX for remote access? - TheDreadPirate - 2024-11-02

Caddy is probably the simplest way to securely enable remote access.

Acquire a free DDNS domain from DuckDNS or NoIP, or some other provider.
Setup port forwarding for port 80 and 443.
Setup Caddy, configure to get https certs for your DDNS domain and proxy to your Jellyfin.

Another user created a video that should be helpful to walk you through the process.

https://www.youtube.com/watch?v=AEyhpuWeiTk


RE: [Newbie] NginX for remote access? - pxr5 - 2024-11-02

As TheDeadPirate says Caddy v2 is super simple to set up. I just have it running on an old Raspberry Pi and from it I get remote access to 3 different servers (2 Jellyfin and 1 Airsonic). Caddy does all the hard work e.g. obtaining certs etc.

There is even a guide on these very forums:

https://forum.jellyfin.org/t-access-your-jellyfin-anywhere-with-caddy

But for simplicity sake:
1. Get a DDNS  e.g. NoIP, Dynu, FreeDNS
2. Install Caddy v2 somewherev (e.g. a RPI)
3. Forward ports 443 and 80 to the device running Caddy
4. Create a little Caddyfile with this in:
Code:
yourdomain.example {
    reverse_proxy xxx.xxx.x.xx:8096
}

On a Pi you would do this to create the Caddyfile 
Code:
sudo nano /etc/caddy/Caddyfile

where yourdomain.example is your DDNS
and  xxx.xxx.x.xx:8096 is the local ip address of your Jellyfin Server

Run Caddy and enable remote connections in Jellyfin.

Access remotely with https:// yourdomain.example


RE: [Newbie] NginX for remote access? - bananasplit123 - 2024-11-03

ty both!