Browse Source

Support hyphens and underscores for meetpad rooms

Many people put hyphens (-) and underscores (_) in their pad names,
and Jitsi-Meet seems to support them in its room names too, so add
them to our rewrite regex.

Change-Id: I819b8d56bf839cf743319e9cd823440c7d910001
changes/33/726433/1
Jeremy Stanley 2 years ago
parent
commit
a48ac23520
  1. 2
      docker/jitsi-meet/web/rootfs/defaults/meet.conf
  2. 2
      playbooks/roles/jitsi-meet/files/meet.conf

2
docker/jitsi-meet/web/rootfs/defaults/meet.conf

@ -6,7 +6,7 @@ root /usr/share/jitsi-meet;
index index.html
error_page 404 /static/404.html;
location ~ ^/([a-zA-Z0-9=\?]+)$ {
location ~ ^/([a-zA-Z0-9=\?_-]+)$ {
rewrite ^/(.*)$ / break;
}

2
playbooks/roles/jitsi-meet/files/meet.conf

@ -6,7 +6,7 @@ root /usr/share/jitsi-meet;
index index.html
error_page 404 /static/404.html;
location ~ ^/([a-zA-Z0-9=\?]+)$ {
location ~ ^/([a-zA-Z0-9=\?_-]+)$ {
rewrite ^/(.*)$ / break;
}

Loading…
Cancel
Save