mirror of
https://github.com/YunoHost-Apps/owntracks_ynh.git
synced 2024-09-03 19:56:24 +02:00
Attempt to fix websockets
This commit is contained in:
parent
e91eb7f546
commit
08299da2d8
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ location __PATH__/ {
|
||||||
|
|
||||||
# Proxy and upgrade WebSocket connection
|
# Proxy and upgrade WebSocket connection
|
||||||
location __PATH__/recorder/ws {
|
location __PATH__/recorder/ws {
|
||||||
rewrite ^__PATH__/recorder/(.*) /$1 break;
|
#rewrite ^__PATH__/recorder/(.*) /$1 break;
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
proxy_pass http://127.0.0.1:__PORT__/ws/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
Loading…
Reference in a new issue