Home Assistant behind proxy

0 minute read

You 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: