File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ is_backend_template_valid $template
4545prepare_web_backend
4646
4747# Deleting backend
48- rm -f $pool /$backend .conf
48+ rm -f $pool /$backend_type .conf
4949
5050# Allocating backend port
5151backend_port=9000
@@ -63,10 +63,10 @@ cat $WEBTPL/$WEB_BACKEND/$template.tpl |\
6363 -e " s|%user%|$user |" \
6464 -e " s|%domain%|$domain |" \
6565 -e " s|%domain_idn%|$domain_idn |" \
66- -e " s|%backend%|$backend |g" > $pool /$backend .conf
66+ -e " s|%backend%|$backend_type |g" > $pool /$backend_type .conf
6767
6868# Checking backend pool configuration
69- if [ " $backend " = " $user " ]; then
69+ if [ " $backend_type " = " $user " ]; then
7070 conf=$USER_DATA /web.conf
7171 fields=' $DOMAIN'
7272 nohead=1
Original file line number Diff line number Diff line change 5454
5555# Defining variables for new vhost config
5656prepare_web_domain_values
57- add_web_config " $WEB_SYSTEM " " $TPL .tpl"
57+ add_web_config " $WEB_SYSTEM " " $template .tpl"
5858if [ " $SSL " = ' yes' ]; then
59- add_web_config " $WEB_SYSTEM " " $TPL .stpl"
59+ add_web_config " $WEB_SYSTEM " " $template .stpl"
6060fi
6161
6262
You can’t perform that action at this time.
0 commit comments