Site updated at 2018-01-28 22:02:31 UTC

This commit is contained in:
Travis CI 2018-01-28 22:02:31 +00:00
parent 57a21e9eb0
commit 01b474f87c
268 changed files with 412 additions and 412 deletions

View file

@ -286,7 +286,7 @@
</code></pre>
</div>
<h3><a class="title-link" name="making-notifications-work-with-nginx-proxy" href="#making-notifications-work-with-nginx-proxy"></a> Making notifications work with NGINX proxy</h3>
<p>If you use <a href="/ecosystem/nginx/">NGINX</a> as an proxy with authentication in front of your Home Assistant instance, you may have trouble with receiving events back to Home Assistant. Its because of authentication token that cannot be passed through the proxy.</p>
<p>If you use <a href="/ecosystem/nginx/">NGINX</a> as a proxy with authentication in front of your Home Assistant instance, you may have trouble with receiving events back to Home Assistant. Its because of authentication token that cannot be passed through the proxy.</p>
<p>To solve the issue put additional location into your nginx sites configuration:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>location /api/notify.html5/callback <span class="o">{</span>
<span class="k">if</span> <span class="o">(</span><span class="nv">$http_authorization</span> <span class="o">=</span> <span class="s2">""</span><span class="o">)</span> <span class="o">{</span> <span class="k">return </span>403; <span class="o">}</span>