Skip to content

Commit e2987b9

Browse files
mweineltfabaff
authored andcommitted
Update http documentation from approved_ips to trusted_networks (home-assistant#994)
home-assistant/core#3532
1 parent d0317e2 commit e2987b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/_components/http.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Configuration variables:
3232
- **ssl_certificate** (*Optional*): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection.
3333
- **ssl_key** (*Optional*): Path to your TLS/SSL key to serve Home Assistant over a secure connection.
3434
- **cors_allowed_origins** (*Optional*): A list of origin domain names to allow [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) requests from. Enabling this will set the `Access-Control-Allow-Origin` header to the Origin header if it is found in the list, and the `Access-Control-Allow-Headers` header to `Origin, Accept, X-Requested-With, Content-type, X-HA-access`. You must provide the exact Origin, i.e. `https://home-assistant.io` will allow requests from `https://home-assistant.io` but __not__ `http://home-assistant.io`.
35-
- **approved_ips** (*Optional*): A list of approved ips. Then it will be possible to login from given ips without providing a password.
35+
- **trusted_networks** (*Optional*): List of trusted networks, consisting of IP addresses or networks, that are allowed to bypass password protection when accessing Home Assistant.
3636

3737
The sample below shows a configuration entry with possible values:
3838

@@ -46,9 +46,11 @@ http:
4646
cors_allowed_origins:
4747
- https://google.com
4848
- https://home-assistant.io
49-
approved_ips:
49+
trusted_networks:
5050
- 127.0.0.1
51-
- 192.168.1.9
51+
- ::1
52+
- 192.168.0.0/24
53+
- 2001:DB8:ABCD::/48
5254
```
5355

5456
The [Set up encryption using Let's Encrypt](/blog/2015/12/13/setup-encryption-using-lets-encrypt/) blog post gives you details about the encryption of your traffic using free certificates from [Let's Encrypt](https://letsencrypt.org/).

0 commit comments

Comments
 (0)