Home Assistant behind proxy
Posted on October 29, 2021 (Last modified on July 11, 2024) • 1 min read • 63 wordsYou want to place Home Assistant behind a reverse proxy, for example for SSL termination and the like? You wonder why you get a “403 Bad Request”, while being able to connect directly?
It’s the configuration.
# /config/configuration.yaml
# ...
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.179.13 # Add the IP address of the proxy server
# ...
Quellen: