ACMEDOMAIN=domainname.tld /root/.acme.sh/acme.sh --standalone --issue -d www.${ACMEDOMAIN} -d ${ACMEDOMAIN} \ --cert-file /etc/ssl/${ACMEDOMAIN}-cert.pem \ --key-file /etc/ssl/${ACMEDOMAIN}-priv.pem \ --fullchain-file /etc/ssl/${ACMEDOMAIN}-fullchain.pem \ --pre-hook "nginx -s stop; killall nginx" \ --post-hook "nginx"
|