I don’t know if this will help, but when I checked the logs it said:
2024/01/19 00:49:20 [error] 592#592: *2496 homeassistant.local could not be resolved (3: Host not found), client: xxx.xxx.x.xx , server: domain name request: "GET /favicon.ico HTTP/1.1", host: "domain name" referrer: "domain name"
I am using duck dns for my domain name. xxx.xxx.x.xx is my VM ip. I use hyper-v.
This might have not been what was causing it. It might be when i was setting up.
And when you add proxy_http_version 1.1;
into the “/”-location ( like you did for /api/websocket )
Based on the error message you seem to pass HTTP/2 to the upstream server
Or remove “http2” from the listen configuration? I’m not sure why you want to make it more complex and run the nginx with HTTP/2 ?
I tried adding proxy_http_version 1.1; as well as removing “http2” from that config and it didn’t change anything. Http2 was there only because I’ve been trying to follow different templates/suggestions/guides to try get it working.
EDIT: I noticed I could ping my homeassistant ip 192.168.1.53 from inside the SWAG container, but running wget 192.168.1.53:8123 results in a connection refused error.
EDIT 2: I really want to learn and figure out what the problem is, I’d be willing to set up a remote stream for anyone who’d be willing to have a look.