mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Merge pull request #1045 from Matige/master
Add global flag for variables when backend config is generated
This commit is contained in:
commit
4918fda6d1
2 changed files with 4 additions and 4 deletions
|
@ -57,8 +57,8 @@ done
|
|||
# Adding backend config
|
||||
cat $WEBTPL/$WEB_BACKEND/$template.tpl |\
|
||||
sed -e "s|%backend_port%|$backend_port|" \
|
||||
-e "s|%user%|$user|"\
|
||||
-e "s|%domain%|$domain|"\
|
||||
-e "s|%user%|$user|g"\
|
||||
-e "s|%domain%|$domain|g"\
|
||||
-e "s|%backend%|$backend_type|g" > $pool/$backend_type.conf
|
||||
|
||||
|
||||
|
|
|
@ -63,8 +63,8 @@ done
|
|||
# Changing backend config
|
||||
cat $WEBTPL/$WEB_BACKEND/$template.tpl |\
|
||||
sed -e "s|%backend_port%|$backend_port|" \
|
||||
-e "s|%user%|$user|"\
|
||||
-e "s|%domain%|$domain|"\
|
||||
-e "s|%user%|$user|g"\
|
||||
-e "s|%domain%|$domain|g"\
|
||||
-e "s|%domain_idn%|$domain_idn|"\
|
||||
-e "s|%backend%|$backend_type|g" > $pool/$backend_type.conf
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue