Fixed acme.sh installation in userdata.sh - Part 2
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m17s
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m17s
This commit is contained in:
@@ -40,9 +40,9 @@ curl https://get.acme.sh | sh -s email=stefano@fiorinis.com
|
||||
|
||||
# Configure acme.sh to use DNS API for FreeDNS
|
||||
. "/.acme.sh/acme.sh.env"
|
||||
acme.sh --issue --dns dns_freedns -d ${DOMAIN_NAME} -d *.${DOMAIN_NAME}
|
||||
"/.acme.sh"/acme.sh --issue --dns dns_freedns -d ${DOMAIN_NAME} -d *.${DOMAIN_NAME}
|
||||
sudo mkdir -p /etc/nginx/ssl
|
||||
acme.sh --install-cert -d ${DOMAIN_NAME} -d *.${DOMAIN_NAME} \
|
||||
"/.acme.sh"/acme.sh --install-cert -d ${DOMAIN_NAME} -d *.${DOMAIN_NAME} \
|
||||
--key-file /etc/nginx/ssl/${DOMAIN_NAME}.pem \
|
||||
--fullchain-file /etc/nginx/ssl/cert.pem \
|
||||
--reloadcmd "service nginx force-reload"
|
||||
|
||||
Reference in New Issue
Block a user