I’m trying to connect to HA using a nginx server. The server is a fork (nginx proxy manager) and is running on a separate Vlan from ha. I have managed to get the port forwarding setup, and can load a home assistant login page. I am not able to login and am stuck with the HA logo and a “retry” button. Logging into HA (via its network) I can see in the logs a request coming from the external address and though nginx, but HA is giving a “request with invalid auth” error.
Here are the http and auth_providers sections of my config file.
http: # server_port: 8123 use_x_forwarded_for: true trusted_proxies: - 192.XXX.X.X/24 #lan where nginx is running homeassistant: auth_providers: - type: trusted_networks trusted_networks: - 192.XXX.X.X/24 #lan where nginx is running - type: homeassistant
I would post my nginx config but nginx proxy manager uses a GUI so there is no code to post. nginx is using a domain with a certificate from lets encrypt. This is managed on nginx and HA has no way to know about it.
Any thoughts on things to try? I’m out of ideas.