mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 14:24:07 -07:00
LE cert obtain: fix subdomain check
This commit is contained in:
parent
1308b508ff
commit
6a6dd6c2f6
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ echo "[$(date)] : v-add-letsencrypt-domain $domain [$aliases]" >> /usr/local/ves
|
|||
# check if alias is the letsencrypt wildcard domain, if not, make the normal checks
|
||||
if [[ "$aliases" != "*.$domain" ]]; then
|
||||
for alias in $(echo "$aliases" |tr ',' '\n' |sort -u); do
|
||||
check_alias="$(echo $ALIAS |tr ',' '\n' |grep ^$alias$)"
|
||||
check_alias="$(echo $alias |tr ',' '\n' |grep ^$alias$)"
|
||||
if [ -z "$check_alias" ]; then
|
||||
echo "[$(date)] : EXIT=domain alias $alias doesn't exist" >> /usr/local/vesta/log/letsencrypt.log
|
||||
check_result $E_NOTEXIST "domain alias $alias doesn't exist"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue