Merge branch 'master' into 9-add-donotredirect-to-createvhosts-sh

This commit is contained in:
Lutchy Horace 2021-03-19 11:48:51 -04:00
commit 84825971fd
1 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,12 @@ function usage
function get_cert
{
/root/.acme.sh/acme.sh --issue --domain $_domain --webroot /srv/http-content-combined/ --cert-file /etc/nginx/ssl/${_domain}.crt --key-file /etc/nginx/ssl/${_domain}.key --fullchain-file /etc/nginx/ssl/${_domain}-fullchain.crt
# should we enable verbose
_debug_arg=""
if [ "$DEBUG" = "1" ]; then
_debug_arg="--debug"
fi
/root/.acme.sh/acme.sh --issue --domain $_domain --webroot /srv/http-content-combined/ --cert-file /etc/nginx/ssl/${_domain}.crt --key-file /etc/nginx/ssl/${_domain}.key --fullchain-file /etc/nginx/ssl/${_domain}-fullchain.crt $_debug_arg
return $?
}