فهرست منبع

Update vst-install-rhel.sh

Changed hostname variable to match rest of script
cmstew 7 سال پیش
والد
کامیت
be300fd82e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      install/vst-install-rhel.sh

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

@@ -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