Skip to content

Commit ad0aa58

Browse files
Danielhiversenfabaff
authored andcommitted
Update http.markdown (home-assistant#954)
* Update http.markdown * Update http.markdown
1 parent ed611f4 commit ad0aa58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/_components/http.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ http:
2727
cors_allowed_origins:
2828
- https://google.com
2929
- https://home-assistant.io
30+
approved_ips:
31+
- 127.0.0.1
32+
- 192.168.1.9
3033
```
3134
3235
Configuration variables:
@@ -38,6 +41,7 @@ Configuration variables:
3841
- **ssl_certificate** (*Optional*): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection.
3942
- **ssl_key** (*Optional*): Path to your TLS/SSL key to serve Home Assistant over a secure connection.
4043
- **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`.
44+
- **approved_ips** (*Optional*): A list of approved ips. Then it will be possible to login from given ips without providing a password.
4145

4246

4347
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)