diff options
author | jfederico <jesus@123it.ca> | 2021-09-17 16:45:45 -0400 |
---|---|---|
committer | jfederico <jesus@123it.ca> | 2021-09-17 16:52:38 -0400 |
commit | 4d9dc1adedfe62fa0a662ebc1893f19f05c448ff (patch) | |
tree | d45d3a7bd3cfb78e39ee0d13599d193b54bb2358 | |
parent | 390030bafcacd73690c6ae52314b8875adf85bb7 (diff) | |
download | scalelite-run-itzks-4d9dc1adedfe62fa0a662ebc1893f19f05c448ff.tar.gz scalelite-run-itzks-4d9dc1adedfe62fa0a662ebc1893f19f05c448ff.tar.bz2 scalelite-run-itzks-4d9dc1adedfe62fa0a662ebc1893f19f05c448ff.zip |
added dependences to bbb init script
-rw-r--r-- | data/proxy/nginx/sites.template.scalelite-local-protected | 2 | ||||
-rw-r--r-- | data/proxy/nginx/sites.template.scalelite-proxy-protected | 2 | ||||
-rwxr-xr-x | init-recordings-scalelite.sh | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/data/proxy/nginx/sites.template.scalelite-local-protected b/data/proxy/nginx/sites.template.scalelite-local-protected index 239c09e..d53d130 100644 --- a/data/proxy/nginx/sites.template.scalelite-local-protected +++ b/data/proxy/nginx/sites.template.scalelite-local-protected @@ -42,7 +42,7 @@ server { include /etc/nginx/sites-common; } - location /static-resource { + location /static-resource/ { rewrite /static-resource(/|$)(.*) /$2 break; proxy_pass http://docker-scalelite-recordings; include /etc/nginx/sites-common; diff --git a/data/proxy/nginx/sites.template.scalelite-proxy-protected b/data/proxy/nginx/sites.template.scalelite-proxy-protected index a4bb314..5a8403a 100644 --- a/data/proxy/nginx/sites.template.scalelite-proxy-protected +++ b/data/proxy/nginx/sites.template.scalelite-proxy-protected @@ -42,7 +42,7 @@ server { include /etc/nginx/sites-common; } - location /static-resource { + location /static-resource/ { rewrite /static-resource(/|$)(.*) /$2 break; proxy_pass http://docker-scalelite-recordings; include /etc/nginx/sites-common; diff --git a/init-recordings-scalelite.sh b/init-recordings-scalelite.sh index 2613c5c..53015c0 100755 --- a/init-recordings-scalelite.sh +++ b/init-recordings-scalelite.sh @@ -3,6 +3,9 @@ source ./.env SCALELITE_RECORDING_DIR=${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton} +echo 'Add dependencies...' +apt-get install -y rsync + echo 'Add the bigbluebutton user...' id -u bigbluebutton &>/dev/null || useradd -m -d /home/bigbluebutton -s /bin/bash bigbluebutton if [ ! -d "/home/bigbluebutton/.ssh" ]; then |