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
This commit is contained in:
Jeremy Stanley 2020-05-08 16:01:01 +00:00
parent f0352e31e1
commit a48ac23520
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}