Comment on issues setting up nginx as an https proxy
darkan15@lemmy.world 1 week agoShould not be an issue to have everything internally, you can setup a local DNS resolver, and config the device that handles your DHCP (router or other) to set that as the default DNS for any devices on your network.
To give you some options if you want to investigate, there is: dnsmasq, Technitium, Pi-Hole, Adguard Home. They can resolve external DNS queries, and also do domain redirection to handle your internal only domain and redirect to the device with your reverse proxy.
That way, you can have a local domain like domain.lan
or domain.internal
that only works and is managed on your Internal network. And can use subdomains as well.
brokenlcd@feddit.it 1 week ago
I’ll need to check. I doubt I’ll be able to setup a DNS resolver. Since I can’t risk the whole network going down if the DNS resolver fails. Plus the server will have limited exposure to the home net via the other router.
Still. Thanks for the tips. I’ll update the post with the solution once I figure it out.
darkan15@lemmy.world 1 week ago
Most routers, or devices, let you set up at least a primary and secondary DNS resolver (some let you add more), so you could have your local one as primary and an external like google or Cloudflare secondary. That way, if your local DNS resolver is down, it will directly go to the external one.
You are welcome.
tuhriel@infosec.pub 1 week ago
Also, some routers allow to add local dns entires within their config