From b6e0118a2569e64e26e04aefeb6586aa0e75b4b2 Mon Sep 17 00:00:00 2001 From: Mathieu Gauthier-Pilote Date: Thu, 10 Aug 2023 16:05:59 -0400 Subject: [PATCH] Fix bug with jvb/websocket/colibri --- webapps/jitsimeet/templates/vhost.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapps/jitsimeet/templates/vhost.conf.j2 b/webapps/jitsimeet/templates/vhost.conf.j2 index 87a5712b..919d0788 100644 --- a/webapps/jitsimeet/templates/vhost.conf.j2 +++ b/webapps/jitsimeet/templates/vhost.conf.j2 @@ -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";