Remove any straggling jitsi certs
This commit is contained in:
parent
8619bfa00c
commit
84d4ffb0f7
|
@ -389,6 +389,16 @@ function install_jitsi {
|
||||||
|
|
||||||
sed -i "s|navigator.mozGetUserMedia|navigator.mediaDevices.getUserMedia|g" /usr/share/jitsi-meet/libs/lib-jitsi-meet.min.js
|
sed -i "s|navigator.mozGetUserMedia|navigator.mediaDevices.getUserMedia|g" /usr/share/jitsi-meet/libs/lib-jitsi-meet.min.js
|
||||||
|
|
||||||
|
if [ -f /usr/lib/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then
|
||||||
|
rm /usr/lib/ssl/certs/${JITSI_DOMAIN_NAME}.pem
|
||||||
|
fi
|
||||||
|
if [ -f /usr/lib/ssl/private/${JITSI_DOMAIN_NAME}.key ]; then
|
||||||
|
rm /usr/lib/ssl/private/${JITSI_DOMAIN_NAME}.key
|
||||||
|
fi
|
||||||
|
if [ -f /usr/lib/ssl/certs/${JITSI_DOMAIN_NAME}.dhparam ]; then
|
||||||
|
rm /usr/lib/ssl/certs/${JITSI_DOMAIN_NAME}.dhparam
|
||||||
|
fi
|
||||||
|
|
||||||
function_check nginx_ensite
|
function_check nginx_ensite
|
||||||
nginx_ensite ${JITSI_DOMAIN_NAME}.conf
|
nginx_ensite ${JITSI_DOMAIN_NAME}.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue