Noob NGINX / self-host question
Hi all. Noob question/s here. I want to be able to access my Immich server (docker) externally and maybe set up some others (e.g. Mealio). My understanding is that I need (should) use NGINX reverse proxy for this. My questions are:
-
Do I need to set up NGINX on a VPS (or similar cloud based server) to send the queries to my home box?
-
Do I need to purchase a domain (randomblahblah.xyz) to use as the main access route from outside my house?
Thanks a lot.
You are viewing a single comment
A proxy on a VPS is one way to do this, but not the only way and not necessarily the best one... depending on your goals.
Not for tailscale, and I don't think for Cloudflare tunnel. Yes for a VPS proxy.
I've run a VPS for a long while and use multiple techniques for different services.
Thanks a lot. Tailscale is out, unfortunately. Because the server also runs Plex and I need to use it with Chromecast on remote access (it's an old CC, so can't add tailscale to it). Looking into Cloudflare and port forwarding. I've just signed up to NextDNS though, so don't want to add another layer of DNS stuff to my mix.
I rather suspect you already understand this, but for anyone following along... Tailscale can be combined with other networking techniques as well. So one could:
It's not an all or nothing proposition, but of course the more networking components you have the more complicated everything gets. If one can simplify, it's often well worth doing so.
Good luck, however you approach it.
Ah, I very much did not know that! Ok, I'm off to investigate Tailscale a bit more.
Yay! We converted another one.
So for something like Jellyfin that you are sharing to multiple people you would suggest a VPS running a reverse proxy instead of using DDNS and port forwarding to expose your home IP?
What VPS would you recommend? I would prefer to self host, but if that is too large of a security concern I think there is a real argument for a VPS.
I run my Jellyfin on Tailscale and don't expose it directly to the internet. This limits remote access to my own devices, or the devices of those I'm willing to help install and configure tailscale on. I don't really trust Jellyfin on the public internet though. It's both a bit buggy, which doesn't bode well for security posture... and also a misconfiguration that exposes your content could generate a lot of copyright liability even if it's all legitimately licensed since you're not allowed to redistribute it.
But if you do want it publicly accessible there isn't a hoge difference between a VPS proxying and a dynamic DNS setup. I have a VPS and like it, but there's nothing I do with it that couldn't be done with Cloudflare tunnel or dyndns.
I use linode, or what used to be linode before it was acquired by Akamai. Vultr and Digitalocean are probably what I'd look to if I got dissatisfied. There's a lot of good options available. I don't see a VPS proxy as a security improvement over Cloudflare tunnel or dyndns though. Tailscale is the security improvement that matters to me, by removing public internet access to a service entirely, while lettinge continue to use it from my devices.