I have my HA on a Rpi4, and use my Sinology NAS to manage my SSL certificates and as a reverse proxy.
My goal is to route “https://secure.my-domain-name.com” to “http://local-ip-of-rpi4:8123”
The SSL certificate and reverse proxy settings are correct, but I run into a 400:bad request error from Home Assistant.
My setting in configuration.yaml is:
http:
use_x_forwarded_for: true
trusted_proxies:
- <<internal ip-address of synology nas>>
I would expect it to work, but somehow it doesn’t.
All the other solutions I found were for the scenario where HA and the proxyserver were on the same host or docker instance and (obviously) don’t work for my situation where HA and the proxy server have different IP-addresses.
I tried 0.0.0.0/0 as a trusted proxy: also no luck
Does anyone have a clue or an idea I could try?