Mastodon Mastodon - Home Assistant behind proxy
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Home Assistant behind proxy

Home Assistant behind proxy

Posted on October 29, 2021  (Last modified on July 11, 2024) • 1 min read • 63 words
Home Assistant   Home Network   Solved  
Home Assistant   Home Network   Solved  
Share via
Link copied to clipboard

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:

  • Home Assistant Docs
  • Home Assistant Community
 Create user and database in postgres
Configure static IP address on Debian systems 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Code copied to clipboard