mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-21 22:03:39 -07:00
homeassistant: enable websockets for entire subd.
This commit is contained in:
parent
f0c93b278e
commit
635dc78657
1 changed files with 0 additions and 12 deletions
|
@ -35,18 +35,6 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
||||
location /api/websocket {
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app homeassistant;
|
||||
set $upstream_port 8123;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue