fix: chown on ssl cert
Exec chown on /etc/letsencrypt only in case of secure installation.
This commit is contained in:
parent
d210f5171a
commit
64c5ab7042
|
@ -193,10 +193,9 @@ else
|
|||
done
|
||||
CERT_PRIV_KEY=/etc/letsencrypt/live/${rootdomain}/privkey.pem
|
||||
CERT_PUB_KEY=/etc/letsencrypt/live/${rootdomain}/fullchain.pem
|
||||
sudo chown ${USER}:${USER} -R /etc/letsencrypt
|
||||
fi
|
||||
|
||||
sudo chown ${USER}:${USER} -R /etc/letsencrypt
|
||||
|
||||
print_green 'Installing Nginx'
|
||||
|
||||
sudo mkdir -p /etc/apt/keyrings
|
||||
|
|
Loading…
Reference in New Issue