mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Install unsigned SSL when user add domain
This commit is contained in:
parent
8933d2b5b0
commit
f269b275da
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,9 @@ echo "DOMAIN='$domain' IP='$ip' IP6='' ALIAS='$ALIAS' TPL='$WEB_TEMPLATE'\
|
|||
STATS='' STATS_USER='' STATS_CRYPT='' U_DISK='0' U_BANDWIDTH='0'\
|
||||
SUSPENDED='no' TIME='$time' DATE='$date'" >> $USER_DATA/web.conf
|
||||
|
||||
# Install unsigned SSL
|
||||
$BIN/v-install-unsigned-ssl "$domain" "no"
|
||||
|
||||
# Restarting web server
|
||||
$BIN/v-restart-web $restart
|
||||
check_result $? "Web restart failed" >/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue