Set permissions for Certbot in /etc/letsencrypt

This commit is contained in:
Miraty 2023-05-06 19:59:38 +02:00
parent 22008c6251
commit fa2445fe82

View file

@ -6,3 +6,8 @@ cp /install/certbot.ini /etc/letsencrypt/cli.ini
cp /install/certbot-deploy-hook.sh /root/certbot-deploy-hook.sh
chmod +x /root/certbot-deploy-hook.sh
mkdir -p /etc/letsencrypt/archive/ /etc/letsencrypt/live/
chmod 710 /etc/letsencrypt/archive/ /etc/letsencrypt/live/
chown root:nginx /etc/letsencrypt/archive/ /etc/letsencrypt/live/
#/root/certbot-deploy-hook.sh