Site updated at 2016-08-09 23:08:39 UTC
This commit is contained in:
parent
64b697ad81
commit
8cc2f163ba
22 changed files with 38 additions and 38 deletions
|
@ -103,8 +103,8 @@ It’s HIGHLY recommended that you set the <code>api_password</code>, especially
|
|||
<span class="key">ssl_certificate</span>: <span class="string"><span class="content">/etc/letsencrypt/live/hass.example.com/fullchain.pem</span></span>
|
||||
<span class="key">ssl_key</span>: <span class="string"><span class="content">/etc/letsencrypt/live/hass.example.com/privkey.pem</span></span>
|
||||
<span class="key">cors_allowed_origins</span>:
|
||||
- <span class="string"><span class="content">google.com</span></span>
|
||||
- <span class="string"><span class="content">home-assistant.io</span></span>
|
||||
- <span class="string"><span class="content">https://google.com</span></span>
|
||||
- <span class="string"><span class="content">https://home-assistant.io</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -118,7 +118,7 @@ It’s HIGHLY recommended that you set the <code>api_password</code>, especially
|
|||
<li><strong>development</strong> (<em>Optional</em>): Disable caching and load unvulcanized assets. Useful for Frontend development.</li>
|
||||
<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>Access-Control-Allow-Origin</code> header to the Origin header if it is found in the list, and the <code>Access-Control-Allow-Headers</code> to <code>Origin, Accept, X-Requested-With, Content-type, X-HA-access</code>.</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>Access-Control-Allow-Origin</code> header to the Origin header if it is found in the list, and the <code>Access-Control-Allow-Headers</code> header to <code>Origin, Accept, X-Requested-With, Content-type, X-HA-access</code>. You must provide the exact Origin, i.e. <code>https://home-assistant.io</code> will allow requests from <code>https://home-assistant.io</code> but <strong>not</strong> <code>http://home-assistant.io</code>.</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue