Help with setting up Nginx Proxy Manager
I've gotten myself a libre computer aml-s905x-cc and put their headless ubuntu image on it and I'm trying to set up a self-hosted environment for Bitwarden.
I've got Docker on it and I'm running Portainer to help manage the docker containers. That's working fine.
I've gotten a domain from google domains and set up a dns resource for "test.mydomain.com" pointing to my public IP address.
I've tried using the quick setup guide for Nginx Proxy Manager (npm) from here: https://nginxproxymanager.com/guide/#hosting-your-home-network. Everything seems to work correctly. I've got it installed, I've set up the admin account, I've created an SSL cert for test.mydomain.com, set up the proxy host for a test nginx container.
The problem is that I cannot access test.mydomain.com from within my network. I can access it from my phone with wifi turned off, and I've had someone else say they can access it from their network. In these cases we get the default nginx landing as expected. But from within my home network, I just get a timeout error and nothing shows up in any of the logs.
I think what I need is NAT loopback? But I don't think my router or modem supports it. I've got a router/modem combo from xfinity (thats pretty busted. there are port forwards that throw errors when I try to clean them out in their xFi app, and bridge mode doesn't work), and a tplink Archer A6 router. Neither seem to have any options for this. I'm new to this self hosting stuff, and I haven't done much else on my server other than what I listed above.
Posted Sep 2, 2022, 6:56 PM UTC
Run an internal DNS server and point it to the local IP address.
Yep this works. Installed PiHole to use as the DNS server and it works perfectly.