mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-07 13:31:32 -07:00
Adjust homeassistant for websocket
Resolves https://github.com/linuxserver/reverse-proxy-confs/pull/191
This commit is contained in:
parent
54ede40938
commit
ef8065e06d
1 changed files with 0 additions and 9 deletions
|
@ -36,13 +36,4 @@ server {
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
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;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue