prevent 502 errors caused by apache port-reuse (#3267)

Without the 'disableeuse=On' configured, Apache will try to reuse tcp ports even when these ports were closed by home assistant (tcp FIN was sent). When Apache tries to use such a port, no answer will come from home assistant, causing Apache to respond with a HTTP 502 error.

With this option turned on, the situation will not occur (since ports will not be reused).
This commit is contained in:
mjj4791 2017-08-28 11:17:24 +02:00 committed by Fabian Affolter
parent fbbe3e5305
commit 44474e5342

View File

@ -54,7 +54,7 @@ If you don't want HTTPS, you can change `<VirtualHost *:443>` to `<VirtualHost *
<p class='note'>
In case you are getting occasional HTTP 504 error messages ("Gateway Timeout") when accessing the Web UI through your proxy, try adding disablereuse=on to both ProxyPass directives:
In case you are getting occasional HTTP 504 error messages ("Gateway Timeout") or HTTP 502 messages ("Bad Gateway") when accessing the Web UI through your proxy, try adding disablereuse=on to both ProxyPass directives:
</p>
```text
<VirtualHost *:443>