Hello Everyone,
For several days I have been struggling with Home Assistant and NGINX with very little result. After I setup NGINX Home Assistant really started performing poorly. Here is what I have done and have setup.
On 1 PI 4 I have home assistant running where it has always run. Prior to this attempt I used the DuckDNS Addon with LetsEcrypt.
IP 192.168.100.27
On a separate PI 4 I have setup Portainer with NGINX running there. PI on that side 192.168.100.250
Unifi Dream Machine Pro setup to port forward 80:80 to 192.168.100.250 and 443:443 192.168.100.250
Back at DuckDNS.org I have a host setup myhost.duckdns.org which points to my public IP
In Home Assistant I have the Config file setup with the below. Note I added the 172 subnet afterward since some folks said it didn’t start to work well until they added the IP that portioner uses.
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.100.250
- 172.18.0.3
ip_ban_enabled: true
login_attempts_threshold: 10
Here is my problem. Most times I get to the login screen just fine. Sometimes it fails at the login and you have to keep trying. When you finally do get in Lovelace pages seem to load ok but the config pages are a nightmare. Most won’t load or load extremely slow. These problems are just through the browser on my computer. I tried both Safari and Chrome no difference.
On the APPS for both Android and IOS I can’t get the External to work at all.
In NGINX I do have Websocket support ticked and Force SSL as well as HTTP2
What am I missing? It really can’t run this badly on Nginx can it?