mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Respect the existing alignment (#5743)
This commit is contained in:
parent
239bae7cc0
commit
1b2dde7762
@ -19,9 +19,9 @@ To allow WebSocket by default for all service exposed by NGINX, you can enable i
|
||||
Open `/usr/syno/share/nginx/Portal.mustache` and add the followings in the `Location` section:
|
||||
|
||||
```
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 86400;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 86400;
|
||||
```
|
||||
|
||||
Then restart the NGINX daemon:
|
||||
|
Loading…
x
Reference in New Issue
Block a user