Skip to content

Commit 258348b

Browse files
sebk-666fabaff
authored andcommitted
Update apache.markdown (home-assistant#2348)
Added a note regarding a workaround for HTTP 504 Gateway Timeout error messages.
1 parent d6e1214 commit 258348b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

source/_docs/ecosystem/apache.markdown

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ Include conf/extra/hass.conf
5353
If you don't want HTTPS, you can change `<VirtualHost *:443>` to `<VirtualHost *:80>` or better consider redirecting all HTTP to HTTPS.
5454

5555

56+
<p class='note'>
57+
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:
58+
59+
```text
60+
<VirtualHost *:443>
61+
[...]
62+
ProxyPass /api/websocket ws://localhost:8123/api/websocket disablereuse=on
63+
[...]
64+
ProxyPass / http://localhost:8123/ disablereuse=on
65+
[...]
66+
</VirtualHost>
67+
```
68+
</p>
69+
5670
#### {% linkable_title Multiple Instance %}
5771

5872
You already have Home Assistant running on http://localhost:8123 and available at home.example.org as describe before. The configuration file for this Home Assistant is available in `/home/alice/.homeassistant/configuration.yaml`

0 commit comments

Comments
 (0)