This commit is contained in:
Bob Mottram 2016-11-09 19:36:03 +00:00
parent a343dd0631
commit 423309d390
1 changed files with 2 additions and 0 deletions

View File

@ -384,10 +384,12 @@ function install_jitsi {
sed -i "s|.crt|.pem|g" /etc/prosody/conf.d/${JITSI_DOMAIN_NAME}.cfg.lua
fi
# ensure that certs are available to prosody with correct permissions
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.* /etc/prosody/certs
cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs
chown prosody:prosody /etc/prosody/certs/${JITSI_DOMAIN_NAME}.*
# remove extraneous nginx config generated by the deb package
if [ -f /etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf ]; then
nginx_dissite ${JITSI_DOMAIN_NAME}.conf
rm /etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf