Remove site if it exists
This commit is contained in:
parent
743222666f
commit
fc08f16df6
|
@ -249,6 +249,9 @@ function install_jitsi {
|
||||||
apt-get -yq install jitsi-meet jitsi-meet-prosody
|
apt-get -yq install jitsi-meet jitsi-meet-prosody
|
||||||
|
|
||||||
jitsi_nginx_site=/etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf
|
jitsi_nginx_site=/etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf
|
||||||
|
if [ -f $jitsi_nginx_site ]; then
|
||||||
|
rm $jitsi_nginx_site
|
||||||
|
fi
|
||||||
if [[ $ONION_ONLY == "no" ]]; then
|
if [[ $ONION_ONLY == "no" ]]; then
|
||||||
function_check nginx_http_redirect
|
function_check nginx_http_redirect
|
||||||
nginx_http_redirect $JITSI_DOMAIN_NAME
|
nginx_http_redirect $JITSI_DOMAIN_NAME
|
||||||
|
|
Loading…
Reference in New Issue