소스 검색

Update vst-install-debian.sh

Changed hostname variable to match rest of script
cmstew 7 년 전
부모
커밋
bdb0959e1b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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