diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index 567f4111..3217bfbb 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -318,7 +318,11 @@ function install_jitsi { create_jitsi_subdomains # videobridge - debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string localhost" + if [[ $ONION_ONLY == 'no' ]]; then + debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${JITSI_DOMAIN_NAME}" + else + debconf-set-selections <<< "jitsi-videobridge jitsi-videobridge/jvb-hostname string ${JITSI_ONION_HOSTNAME}" + fi apt-get -yq install jitsi-videobridge if [ ! -d /etc/jitsi ]; then echo $'Videobridge package failed to install' @@ -327,8 +331,8 @@ function install_jitsi { firewall_add videobridge ${VIDEOBRIDGE_PORT} # meet - debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 2" - apt-get -yq install jitsi-meet + debconf-set-selections <<< "jitsi-meet jitsi-meet/cert-choice multiselect 1" + apt-get -yq install jitsi-meet jitsi-meet-prosody jitsi_nginx_site=/etc/nginx/sites-available/$JITSI_DOMAIN_NAME if [[ $ONION_ONLY == "no" ]]; then