I switched from Freenas to UNRAID. I set up Caddy in a container. I also set up a reverse proxy, however I am unable to get HomeAssistant running on it. The page loads up fine, however when I enter the password, the loading circle just spins forever.
I get the following error in console: WebSocket connection to ‘wss://mysite.com/api/websocket?latest’ failed: Error during WebSocket handshake: Unexpected response code: 502
This is how my Caddyfile looks like for this instance:
I have also tried many variations to no avail. I’m happy to provide my site information and password (over PM).
This worked perfectly on FreeNAS, so I’m not sure where the culprit is.
If anybody can point me to the right direction, I would really appreciate it!