Set permissions for Certbot in /etc/letsencrypt
This commit is contained in:
parent
22008c6251
commit
fa2445fe82
|
@ -6,3 +6,8 @@ cp /install/certbot.ini /etc/letsencrypt/cli.ini
|
||||||
|
|
||||||
cp /install/certbot-deploy-hook.sh /root/certbot-deploy-hook.sh
|
cp /install/certbot-deploy-hook.sh /root/certbot-deploy-hook.sh
|
||||||
chmod +x /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
|
||||||
|
|
Loading…
Reference in New Issue