docker-stacks/home-assistant
Alexey Skobkin 0af1267343
All checks were successful
continuous-integration/drone/pr Build is passing
home-assistant. Nginx config and README.md.
2023-10-02 14:12:21 +03:00
..
config home-assistant. Adding stack draft. 2023-09-10 15:23:00 +03:00
nginx home-assistant. Nginx config and README.md. 2023-10-02 14:12:21 +03:00
.env.dist home-assistant. Adding stack draft. 2023-09-10 15:23:00 +03:00
docker-compose.yml home-assistant. Adding stack draft. 2023-09-10 15:23:00 +03:00
README.md home-assistant. Nginx config and README.md. 2023-10-02 14:12:21 +03:00

Home Assistant

Using with reverse proxy (like Nginx)

If you're using Home Assistant with reverse proxy, you need to enable it and add trusted proxy address. Otherwise you will get 400 (Bad Request) each time you try to open HA's web interface.

To achieve that edit configuration.yaml after it was generated at first launch and add missing options.

# config/configuration.yaml
http:                                                                                                                                                        
  use_x_forwarded_for: true                                                                                                                                  
  trusted_proxies:                                                                                                                                           
    - '127.0.0.1'                                                                                                                                            
    - '::1'