Nginx Proxy Manager giving me a headache

Associate
Joined
18 Jun 2020
Posts
355
Location
Warminster
I have Nginx Proxy Manager running on a Pi via Portainer. I'm having issues whereby I can access all my proxy hosts using their internal IP addresses (e.g. 192.168.1.200:81 for NPM itself), but can't access them via their FQDNs (e.g. nginx.DOMAIN.co.uk for NPM)

NPM has been running fine for months now, this has happened out of the blue. If I ping nginx.DOMAIN.co.uk I get no errors. I have a static IP.

Any ideas what I could try in order to troubleshoot what's happening?
 
Pinging nginx.domain.com is just hitting your WAN IP (router), right? That doesn't test the subdomain resource itself being available. Connection refused sounds like a firewall issue. Have you checked nothing's changed on your router, NPM host or other firewalls? Are you using split DNS (WAN IP from outside and LAN IP from inside the network)? Have you tried running a traceroute to see where it dies? Hairpin NAT (SNAT) issue?
 
Thanks @Rainmaker - I actually figured out over the weekend what was causing the issue - somehow, when last updating the container, the ports seem to have defaulted. I have custom port forwarding on my router, and therefore this is where everything was failing. Now that I have set the ports to the correct values, everything is back working :)
 
Had a very similar issue recently on unraid. Hadn't locked the IP addresses for the containers so as soon as unraid bounced, everything went wrong
 
Back
Top Bottom