mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
portable template processing
This commit is contained in:
parent
d6bfbc0a81
commit
f723d15817
1 changed files with 2 additions and 0 deletions
|
@ -221,8 +221,10 @@ sort_dns_records() {
|
|||
add_web_config() {
|
||||
cat $tpl_file | \
|
||||
sed -e "s/%ip%/$ip/g" \
|
||||
-e "s/%web_system%/$WEB_SYSTEM/g" \
|
||||
-e "s/%web_port%/$WEB_PORT/g" \
|
||||
-e "s/%web_ssl_port%/$WEB_SSL_PORT/g" \
|
||||
-e "s/%proxy_system%/$PROXY_SYSTEM/g" \
|
||||
-e "s/%proxy_port%/$PROXY_PORT/g" \
|
||||
-e "s/%proxy_ssl_port%/$PROXY_SSL_PORT/g" \
|
||||
-e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue