Skip to content

Commit

Permalink
Update 2023-09-29-home-assistant-reverse-proxy-traefik.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kdpuvvadi authored Aug 6, 2024
1 parent fe1531a commit ea4da0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2023-09-29-home-assistant-reverse-proxy-traefik.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ http:
```
{: file="traefik/data/config/hass.yml" }
Make necessary changes such as `url`, `ip` of the `Home Assistant` and `ipWhiteList` according to your network. Headers are curtesy of [Techno Time](https://technotim.live/).
Make necessary changes such as `url`, `ip` of the `Home Assistant` and `ipWhiteList` according to your network. Headers are curtesy of [Techno Tim](https://technotim.live/).

home assistant will be available are the given url e.g. `hass.example.net`. But hass throws `Bad Request` error. Reason being it only allows reverse proxying from whitelisted ip ranges.

### configuration

Add following `http` config to `configuration.yaml`
Add following `http` config to Home Assistant's `configuration.yaml`

```yaml
http:
Expand All @@ -120,7 +120,7 @@ http:

Please add required networks and docker network both to the `trusted_proxies` and restart the hass instance.

After few minutes `Home Assistant` will be available at `https:?/hass.example.net`.
After few minutes `Home Assistant` will be available at `https://hass.example.net`.

## Conclusion

Expand Down

0 comments on commit ea4da0c

Please sign in to comment.