Update letsencrypt.sh
This commit is contained in:
parent
ae618f952a
commit
8bca6b7de3
|
|
@ -79,10 +79,10 @@ fi
|
|||
|
||||
#request the certificates
|
||||
if [ .$wilcard_domain = ."true" ]; then
|
||||
dehydrated --cron --domain *.$domain_name --alias $domain_alias --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge dns-01 --hook /etc/dehydrated/hook.sh
|
||||
dehydrated --cron --domain *.$domain_name --alias $domain_alias --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge dns-01 --hook /etc/dehydrated/hook.sh
|
||||
fi
|
||||
if [ .$wilcard_domain = ."false" ]; then
|
||||
dehydrated --cron --alias $domain_alias --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
|
||||
dehydrated --cron --alias $domain_alias --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
|
||||
fi
|
||||
|
||||
#make sure the nginx ssl directory exists
|
||||
|
|
|
|||
Loading…
Reference in New Issue