html5 dev mode

This commit is contained in:
chandi
2024-11-25 17:12:29 +01:00
parent ed77742a49
commit 7c0c55a9da
5 changed files with 61 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
# serve locale index from prebuilt static files
location = /html5client/locales/ {
alias /usr/share/bigbluebutton/html5-client/locales/;
autoindex on;
autoindex_format json;
}
# running from source (npm start)
location /html5client/ {
rewrite /html5client/(.*) /$1 break;
gzip_static on;
proxy_pass http://10.7.7.1:3000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}