Site updated at 2017-10-05 09:01:16 UTC

This commit is contained in:
Travis CI 2017-10-05 09:01:17 +00:00
parent 2e11128e04
commit 48d89ec42a
49 changed files with 104 additions and 104 deletions

View file

@ -78,7 +78,7 @@
<p>This example demonstrates how you can configure NGINX to act as a proxy for Home Assistant.</p>
<p>This is useful if you want to have:</p>
<ul>
<li>a subdomain redirecting to your home assistant instance</li>
<li>a subdomain redirecting to your Home Assistant instance</li>
<li>several subdomain for several instance</li>
<li>HTTPS redirection</li>
</ul>
@ -121,8 +121,8 @@
<p>You want another instance available at https://countryside.example.org</p>
<p>You can either :</p>
<ul>
<li>Create a new user, <code class="highlighter-rouge">bob</code>, to hold the configuration file in <code class="highlighter-rouge">/home/bob/.homeassistant/configuration.yaml</code> and run home assistant as this new user</li>
<li>Create another configuration directory in <code class="highlighter-rouge">/home/alice/.homeassistan2/configuration.yaml</code> and run home assistant using <code class="highlighter-rouge">hass --config /home/alice/.homeassistant2/</code></li>
<li>Create a new user, <code class="highlighter-rouge">bob</code>, to hold the configuration file in <code class="highlighter-rouge">/home/bob/.homeassistant/configuration.yaml</code> and run Home Assistant as this new user</li>
<li>Create another configuration directory in <code class="highlighter-rouge">/home/alice/.homeassistan2/configuration.yaml</code> and run Home Assistant using <code class="highlighter-rouge">hass --config /home/alice/.homeassistant2/</code></li>
</ul>
<p>In both solution, change port number used by modifying <code class="highlighter-rouge">configuration.yaml</code> file.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">http</span><span class="pi">:</span>