Explorar o código

Update vst-install-debian.sh

Changed hostname variable to match rest of script
cmstew %!s(int64=7) %!d(string=hai) anos
pai
achega
bdb0959e1b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      install/vst-install-debian.sh

+ 2 - 2
install/vst-install-debian.sh

@@ -1359,8 +1359,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