mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Fix on ssl home definition on Lets Encrypt cert renew
This commit is contained in:
parent
a07eb1da1b
commit
edcba71911
1 changed files with 3 additions and 2 deletions
|
@ -108,8 +108,9 @@ else
|
|||
fi
|
||||
|
||||
# Adding SSL
|
||||
ssl_home=$(search_objects 'web' 'LETSENCRYPT' 'yes' 'SSL_HOME')
|
||||
$BIN/v-delete-web-domain-ssl $user $domain >/dev/null 2>&1
|
||||
$BIN/v-add-web-domain-ssl $user $domain $ssl_dir
|
||||
$BIN/v-add-web-domain-ssl $user $domain $ssl_dir $ssl_home
|
||||
if [ "$?" -ne '0' ]; then
|
||||
touch $VESTA/data/queue/letsencrypt.pipe
|
||||
sed -i "/ $domain /d" $VESTA/data/queue/letsencrypt.pipe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue