Fix bug with jvb/websocket/colibri

This commit is contained in:
Mathieu Gauthier-Pilote 2023-08-10 16:05:59 -04:00
parent 3b8834ffce
commit 0350a97f8c

View file

@ -152,8 +152,8 @@ server {
}
# colibri (JVB) websockets for jvb1
location ~ ^/colibri-ws/default-id/(.*) {
proxy_pass http://jvb1/colibri-ws/default-id/$1$is_args$args;
location ~ ^/colibri-ws/([a-zA-Z0-9-\._]+)/(.*) {
proxy_pass http://jvb1/colibri-ws/default-id/$2$is_args$args;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";