diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index df7a69671fb346f4f29c470127b6a9080ae862a9..6ade68cf62b70af4269a5b078d9fcc2e978432d3 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -1735,6 +1735,17 @@ if [ -n "$HOST" ]; then echo "Assigning $HOST for servername in /etc/nginx/sites-available/bigbluebutton" sudo sed -i "s/server_name .*/server_name $HOST;/g" /etc/nginx/sites-available/bigbluebutton + # + # Update configuration for BigBlueButton client (and perserve hostname for chromeExtensionLink if exists) + # + + echo "Assigning $HOST for http[s]:// in /var/www/bigbluebutton/client/conf/config.xml" + chromeExtensionLinkURL=$(cat /var/www/bigbluebutton/client/conf/config.xml | sed -n '/chromeExtensionLink/{s/.*https*:\/\///;s/\/.*//;p}') + sudo sed -i "s/http[s]*:\/\/\([^\"\/]*\)\([\"\/]\)/$PROTOCOL_HTTP:\/\/$HOST\2/g" \ + /var/www/bigbluebutton/client/conf/config.xml + sudo sed -i "s/chromeExtensionLink=\"https:\/\/[^\/]*/chromeExtensionLink=\"https:\/\/$chromeExtensionLinkURL/g" \ + /var/www/bigbluebutton/client/conf/config.xml + # # Update configuration for BigBlueButton client # diff --git a/bigbluebutton-config/web/index.html b/bigbluebutton-config/web/index.html index 86fee4b3489730360022647fbd8a2ad4747f3ba7..ef3854d2f5334192d91fc9ea3aa0eadac0bcfc8d 100644 --- a/bigbluebutton-config/web/index.html +++ b/bigbluebutton-config/web/index.html @@ -261,8 +261,8 @@ <div class="row"> <div class="span twelve center"> - <p>Copyright © 2017 BigBlueButton Inc.<br> - <small>Version <a href="http://docs.bigbluebutton.org/">2.0-dev</a></small> + <p>Copyright © 2018 BigBlueButton Inc.<br> + <small>Version <a href="http://docs.bigbluebutton.org/">2.0-beta</a></small> </p> </div> </div> diff --git a/bigbluebutton-config/web/index_html5_vs_flash.html b/bigbluebutton-config/web/index_html5_vs_flash.html index fb92c0d8a9d21807db2734abf0e6ca83ce1f1cfd..35e199e8dffd44c65d76159c43428f6a9e453291 100644 --- a/bigbluebutton-config/web/index_html5_vs_flash.html +++ b/bigbluebutton-config/web/index_html5_vs_flash.html @@ -287,7 +287,7 @@ <div class="row"> <div class="span twelve center"> - <p>Copyright © 2017 BigBlueButton Inc.<br> + <p>Copyright © 2018 BigBlueButton Inc.<br> <small>Version <a href="http://docs.bigbluebutton.org/">2.0-beta</a></small> </p> </div>