Site updated at 2016-09-29 04:44:35 UTC
This commit is contained in:
parent
ddacba981c
commit
709c211c8f
482 changed files with 11714 additions and 1562 deletions
|
@ -104,6 +104,9 @@ It’s HIGHLY recommended that you set the <code class="highlighter-rouge">api_p
|
|||
<span class="s">cors_allowed_origins</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">https://google.com</span>
|
||||
<span class="pi">-</span> <span class="s">https://home-assistant.io</span>
|
||||
<span class="s">approved_ips</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">127.0.0.1</span>
|
||||
<span class="pi">-</span> <span class="s">192.168.1.9</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
|
@ -117,6 +120,7 @@ It’s HIGHLY recommended that you set the <code class="highlighter-rouge">api_p
|
|||
<li><strong>ssl_certificate</strong> (<em>Optional</em>): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection.</li>
|
||||
<li><strong>ssl_key</strong> (<em>Optional</em>): Path to your TLS/SSL key to serve Home Assistant over a secure connection.</li>
|
||||
<li><strong>cors_allowed_origins</strong> (<em>Optional</em>): A list of origin domain names to allow <a href="https://en.wikipedia.org/wiki/Cross-origin_resource_sharing">CORS</a> requests from. Enabling this will set the <code class="highlighter-rouge">Access-Control-Allow-Origin</code> header to the Origin header if it is found in the list, and the <code class="highlighter-rouge">Access-Control-Allow-Headers</code> header to <code class="highlighter-rouge">Origin, Accept, X-Requested-With, Content-type, X-HA-access</code>. You must provide the exact Origin, i.e. <code class="highlighter-rouge">https://home-assistant.io</code> will allow requests from <code class="highlighter-rouge">https://home-assistant.io</code> but <strong>not</strong> <code class="highlighter-rouge">http://home-assistant.io</code>.</li>
|
||||
<li><strong>approved_ips</strong> (<em>Optional</em>): A list of approved ips. Then it will be possible to login from given ips without providing a password.</li>
|
||||
</ul>
|
||||
|
||||
<p>The <a href="/blog/2015/12/13/setup-encryption-using-lets-encrypt/">Set up encryption using Let’s Encrypt</a> blog post gives you details about the encryption of your traffic using free certificates from <a href="https://letsencrypt.org/">Let’s Encrypt</a>.</p>
|
||||
|
@ -182,6 +186,9 @@ It’s HIGHLY recommended that you set the <code class="highlighter-rouge">api_p
|
|||
<li>
|
||||
<a href='/components/introduction/'>Introduction</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/keyboard_remote/'>Keyboard</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/logger/'>Logger</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue