#Enable both cloud & local access

1 messages · Page 1 of 1 (latest)

oak rune
#

Hey,

I have Home Assistant Cloud, and am currently using homeassistant with the configured cloud hostname, we'll say "cloud.example.com". I also currently have, pointing to my home assistant, "home.example.com" with the nginx add-in proxying it back to home assistant.

However, I'm getting permission errors returned when the nginx proxy attempts to connect:

2025/08/02 14:47:09 [error] 128#128: *734 connect() failed (111: Connection refused) while connecting to upstream, client: [my lan ip], server: home.example.com, request: "GET / HTTP/2.0", upstream: "http://172.30.32.1:8123/", host: "home.example.com"

I'll note I have the entire 172.16/12 RFC 1918 range in allowed_proxies (along with 127.0.0.1)

I'm wondering:

  • If I need to configure nginx to rewrite the host header from "home.example.com" to "cloud.example.com"
  • If it's not possible to use the cloud frontend and local https at the same time
  • I've misconfigured something completely unrelated

Thanks!
-Jay

#

Well, updating my own thought, it's connection refused which means definitionally we're not getting to the point of even passing a host. I've verified via ha core info that is the IP address for the ha core container it's using as the backend.