Manually fix permissions and add package
This commit is contained in:
parent
7d0021bc6e
commit
1db1cb8ed0
|
@ -224,6 +224,7 @@ apt-get -y install \
|
||||||
git \
|
git \
|
||||||
htop \
|
htop \
|
||||||
letsencrypt \
|
letsencrypt \
|
||||||
|
net-tools \
|
||||||
unzip \
|
unzip \
|
||||||
wget
|
wget
|
||||||
|
|
||||||
|
@ -896,6 +897,10 @@ sed -i "s| main_muc = \"conference.|-- main_muc = \"conference.|"
|
||||||
#EO_TF
|
#EO_TF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fix prosody not able to read SSL Certs
|
||||||
|
chown -R root:prosody /etc/prosody/certs/
|
||||||
|
chmod -R 650 /etc/prosody/certs/
|
||||||
|
|
||||||
#SSL workaround
|
#SSL workaround
|
||||||
if [ "$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed")" -eq 1 ]; then
|
if [ "$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed")" -eq 1 ]; then
|
||||||
ssl_wa nginx nginx $DOMAIN $WS_CONF $SYSADMIN_EMAIL $DOMAIN
|
ssl_wa nginx nginx $DOMAIN $WS_CONF $SYSADMIN_EMAIL $DOMAIN
|
||||||
|
|
Loading…
Reference in New Issue