mirror of
https://github.com/myvesta/vesta
synced 2025-07-10 23:33:13 -07:00
improving template structure
This commit is contained in:
parent
fce5ddeddf
commit
cd69b7bcdf
23 changed files with 135 additions and 88 deletions
|
@ -56,7 +56,7 @@ fi
|
|||
get_domain_values 'web'
|
||||
NGINX="$template"
|
||||
NGINX_EXT="$extentions"
|
||||
tpl_file="$WEBTPL/nginx_$NGINX.tpl"
|
||||
tpl_file="$WEBTPL/nginx/$NGINX.tpl"
|
||||
conf="$HOMEDIR/$user/conf/web/nginx.conf"
|
||||
ip=$(get_real_ip $IP)
|
||||
|
||||
|
@ -77,7 +77,7 @@ fi
|
|||
|
||||
# Checking ssl
|
||||
if [ "$SSL" = 'yes' ]; then
|
||||
tpl_file="$WEBTPL/nginx_$NGINX.stpl"
|
||||
tpl_file="$WEBTPL/nginx/$NGINX.stpl"
|
||||
conf="$HOMEDIR/$user/conf/web/snginx.conf"
|
||||
add_web_config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue