I recently noticed I can’t access Home Assistant outside my LAN. I’ve been accessing using DuckDNS without NGINX but reinstalled everything including the NGINX Home Assistant SSL proxy add-on.
I had the same issue… Mine was TOO simple, but I decided to risk it and see if by chance you missed the same step I did initally. In your router port forwarding… did you update your NAT (Port Forwarding)?
Before NGINX, I bet it was External Port 443 to Internal (HA Address) Port 8123?
After NGINX it needs to be External Port 443 to Internal (HA Address) Port 443.
I had changed the port to 443 but your replay made me check the network and it seems one of my recently installed IP cameras (an old D-Link DCS-930L I had found and thought I should re-use for Home Assistant) also used port 443 for some reason. This meant the port didn’t forward to the Home Assistant IP properly. Really weird error but now everything seems to work EXCEPT I still get a lot of errors in the log for NGINX Home Assistant SSL proxy add-on:
The errors do not seem to affect the possibility to access Home Assistant on the LAN or WAN but make me nervous. :S
I’ve tried to add the IP:s shown in the log (both the one after “client:” and the one after “upstream:”) in configuration.yaml under trusted_proxies but it doesn’t seem to do anything:
I think I may know what is happening… I had something like it with a few of the cloud type integrations.
As you can tell, I am going completely by assumptions… But those integrations were initially set up using port 8123… What worked for me was removing the integration and adding it again…