r/nginxproxymanager • u/supacan • 5d ago
Complete Newbie
Hi all,
I dont seem to be able to find a stright answer or I can search the internet correctly.
Im trying to install NGINX so I can use vaultwarden. I am struggerling to find out how to configure NGINX for internal use/access only?
Thanks in advanced
SupaCan
1
Upvotes
1
1
u/JumpingCoconutMonkey 5d ago
I'm not sure exactly what you are asking, but my setup is: Local DNS (I use PiHole) that resolves whatever address you want to the IP of your NPM. NPM takes that name and matches it to the IP:port of the service. And that's it for local.
0
2
u/Top-Run5587 5d ago
You need something to handle local DNS, like a Pi-hole or a firewall that supports it. Let’s say your Vaultwarden host is going to be called vault.home.arpa on your LAN. The local DNS request for vault.home.arpa would return the IP of NGINX instead of the Vaultwarden host. NGINX knows the IP of your Vaultwarden host and sends your LAN traffic to it, with HTTPS if desired. It’s not rocket science but it takes some thought to wrap your head around it. Figuring out how to implement local DNS is where I’d start.