|
|
@@ -213,21 +213,21 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
|
|
|
parse_object_kv_list_non_eval domain_conf
|
|
|
|
|
|
mkdir template/
|
|
|
- mkdir template/$WEB_SYSTEM/
|
|
|
- mkdir template/php-fpm/
|
|
|
+ mkdir template/$WEB_SYSTEM/
|
|
|
+ mkdir template/php-fpm/
|
|
|
|
|
|
if [ $WEB_BACKEND == 'php-fpm' ]; then
|
|
|
cp $HESTIA/data/templates/web/$WEB_SYSTEM/php-fpm/$TPL.tpl template/$WEB_SYSTEM/
|
|
|
- cp $HESTIA/data/templates/web/$WEB_SYSTEM/php-fpm/$TPL.stpl template/$WEB_SYSTEM/
|
|
|
+ cp $HESTIA/data/templates/web/$WEB_SYSTEM/php-fpm/$TPL.stpl template/$WEB_SYSTEM/
|
|
|
cp $HESTIA/data/templates/web/php-fpm/$BACKEND.tpl template/php-fpm/
|
|
|
else
|
|
|
cp $HESTIA/data/templates/web/$WEB_SYSTEM/$TPL.tpl template/$WEB_SYSTEM/
|
|
|
- cp $HESTIA/data/templates/web/$WEB_SYSTEM/$TPL.stpl template/$WEB_SYSTEM/
|
|
|
+ cp $HESTIA/data/templates/web/$WEB_SYSTEM/$TPL.stpl template/$WEB_SYSTEM/
|
|
|
fi
|
|
|
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
|
|
|
mkdir template/$PROXY_SYSTEM
|
|
|
cp $HESTIA/data/templates/web/$PROXY_SYSTEM/$PROXY.tpl template/$PROXY_SYSTEM/
|
|
|
- cp $HESTIA/data/templates/web/$PROXY_SYSTEM/$PROXY.stpl template/$PROXY_SYSTEM/
|
|
|
+ cp $HESTIA/data/templates/web/$PROXY_SYSTEM/$PROXY.stpl. template/$PROXY_SYSTEM/
|
|
|
fi
|
|
|
|
|
|
# Backup custom config / backup LE config
|