Adding LE key on domain creation

This commit is contained in:
Serghey Rodin 2016-10-24 18:15:34 +03:00
commit a2cb705de9

View file

@ -167,11 +167,11 @@ time=$(echo "$time_n_date" |cut -f 1 -d \ )
date=$(echo "$time_n_date" |cut -f 2 -d \ ) date=$(echo "$time_n_date" |cut -f 2 -d \ )
# Adding domain in web.conf # Adding domain in web.conf
echo "DOMAIN='$domain' IP='$ip' IP6='' ALIAS='$ALIAS' TPL='$WEB_TEMPLATE' \ echo "DOMAIN='$domain' IP='$ip' IP6='' ALIAS='$ALIAS' TPL='$WEB_TEMPLATE'\
SSL='no' SSL_HOME='same' FTP_USER='' FTP_MD5='' BACKEND='$BACKEND_TEMPLATE' \ SSL='no' SSL_HOME='same' LETSENCRYPT='no' FTP_USER='' FTP_MD5=''\
PROXY='$PROXY_TEMPLATE' PROXY_EXT='$PROXY_EXT' STATS='' STATS_USER='' \ BACKEND='$BACKEND_TEMPLATE' PROXY='$PROXY_TEMPLATE' PROXY_EXT='$PROXY_EXT'\
STATS_CRYPT='' U_DISK='0' U_BANDWIDTH='0' SUSPENDED='no' \ STATS='' STATS_USER='' STATS_CRYPT='' U_DISK='0' U_BANDWIDTH='0'\
TIME='$time' DATE='$date'" >> $USER_DATA/web.conf SUSPENDED='no' TIME='$time' DATE='$date'" >> $USER_DATA/web.conf
# Restarting web server # Restarting web server
if [ "$restart" != 'no' ]; then if [ "$restart" != 'no' ]; then