diff --git a/install/certbot.sh b/install/certbot.sh index da23187..cdf594f 100644 --- a/install/certbot.sh +++ b/install/certbot.sh @@ -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