Update trusted_networks (#8874)

* Update trusted_networks

Update the text for trusted_networks based on 0.89

* Update the trusted_network text

* Update source/_components/http.markdown

Co-Authored-By: gerard33 <gerard33@users.noreply.github.com>

* Update http.markdown

* ✏️ Tweak
This commit is contained in:
Gerard 2019-03-13 20:52:06 +01:00 committed by Franck Nijhof
parent 862bcab05e
commit 8243768218

View File

@ -72,7 +72,7 @@ trusted_proxies:
required: false
type: string, list
trusted_networks:
description: "List of trusted networks, consisting of IP addresses or networks, that are allowed to bypass password protection when accessing Home Assistant. If using a reverse proxy with the `use_x_forwarded_for` and `trusted_proxies` options enabled, requests proxied to Home Assistant with a trusted `X-Forwarded-For` header will appear to come from the IP given in that header instead of the proxy IP."
description: "List of trusted networks, consisting of IP addresses or networks, that are allowed to bypass password protection when accessing Home Assistant. If using a reverse proxy with the `use_x_forwarded_for` and `trusted_proxies` options enabled, requests proxied to Home Assistant with a trusted `X-Forwarded-For` header will appear to come from the IP given in that header instead of the proxy IP."
required: false
type: string, list
ip_ban_enabled:
@ -92,6 +92,10 @@ ssl_profile:
default: modern
{% endconfiguration %}
<p class='note'>
Configuring trusted_networks via the `http` component will be deprecated and moved to `auth_providers` instead. For instructions, see <a href="https://www.home-assistant.io/docs/authentication/providers/#trusted-networks">trusted networks</a>. In Home Assistant 0.89.0 and 0.89.1, you need place the trusted network under both `http` and `auth_providers` if you still want to use trusted networks features. You can remove it from `http` section starting from 0.89.2.
</p>
The sample below shows a configuration entry with possible values:
```yaml