Merge branch 'master' into 9-add-donotredirect-to-createvhosts-sh
This commit is contained in:
commit
84825971fd
|
@ -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 $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue