Skip to content
Snippets Groups Projects
Commit 1b1c9f04 authored by tamaina's avatar tamaina
Browse files

fix

parent b695a863
No related branches found
No related tags found
No related merge requests found
......@@ -353,9 +353,9 @@ if $nginx_local; then
echo "Process: prepare certificate;"
tput setaf 7;
if $cloudflare; then
certbot certonly -t -n --agree-tos --dns-cloudflare --dns-cloudflare-credentials /etc/cloudflare/cloudflare.ini --dns-cloudflare-propagation-seconds 60 --server https://acme-v02.api.letsencrypt.org/directory $([ ${#hostarr[*]} -eq 2 ] && echo " -d '$host' -d '*.$host'" || echo " -d '$host'") -m "$cf_mail";
certbot certonly -t -n --agree-tos --dns-cloudflare --dns-cloudflare-credentials /etc/cloudflare/cloudflare.ini --dns-cloudflare-propagation-seconds 60 --server https://acme-v02.api.letsencrypt.org/directory $([ ${#hostarr[*]} -eq 2 ] && echo " -d $host -d *.$host" || echo " -d $host") -m "$cf_mail";
else
certbot certonly -t -n --agree-tos --standalone$([ ${#hostarr[*]} -eq 2 ] && echo " -d '$host' -d '*.$host'" || echo " -d '$host'") -m "$cf_mail";
certbot certonly -t -n --agree-tos --standalone$([ ${#hostarr[*]} -eq 2 ] && echo " -d $host -d *.$host" || echo " -d $host") -m "$cf_mail";
fi
tput setaf 3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment