mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
Update vst-install-amazon.sh
Changed hostname variable to match rest of script
This commit is contained in:
parent
bdb0959e1b
commit
5852424830
1 changed files with 2 additions and 2 deletions
|
@ -1335,8 +1335,8 @@ $VESTA/bin/v-add-cron-vesta-autoupdate
|
|||
|
||||
# Add Let's Encrypt SSL for hostname and enable auto-renew
|
||||
if [ "$ssl" = 'yes' ]; then
|
||||
$VESTA/bin/v-add-letsencrypt-domain 'admin' $(hostname) '' 'yes'
|
||||
$VESTA/bin/v-update-host-certificate admin $(hostname)
|
||||
$VESTA/bin/v-add-letsencrypt-domain 'admin' $servername '' 'yes'
|
||||
$VESTA/bin/v-update-host-certificate admin $servername
|
||||
echo "UPDATE_HOSTNAME_SSL='yes'" >> $VESTA/conf/vesta.conf
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue