14 lines
461 B
Bash
14 lines
461 B
Bash
mkdir /srv/servnest/acme
|
|
chown $nginx: /srv/servnest/acme
|
|
chmod u=rX,g=,o= /srv/servnest/acme
|
|
|
|
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
|