Comments
This commit is contained in:
parent
a343dd0631
commit
423309d390
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue