mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Update vst-install-rhel.sh
Changed hostname variable to match rest of script
This commit is contained in:
parent
5852424830
commit
be300fd82e
1 changed files with 2 additions and 2 deletions
|
@ -1358,8 +1358,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