I have HA running on my Synology NAS with a custom domain from DuckDNS and SSL from LetsEncrypt. I’m using my Synology as proxy server (which basically is nginx).
My router has port forwards for 443 to my Synology
https://foo.duckdns.org shows the Home Assistant login page. However when trying to login, the login page gives an error
Unable to connect to Home Assistant. Retry
In my console I can see that the websocket gives an error
Error during WebSocket handshake: Unexpected response code: 400
Login itself works, because when I enter the wrong credentials, it states
Invalid username or password
Using HA on the local IP works flawless.
Does anybody know why I can not use HA remote via my custom domain & SSL?
Below are screenshots of my configurations
Port forwards on router
Reverse Proxy Rules in Synology
Certificate for domain
I’ve checked my Nginx configuration and it hass a passthrough for HA
And this is in my configuration.yaml
Hope anyone can help!