From f723d15817e6c2257ddbfef4381e08de0a8704ff Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 25 Jun 2013 16:17:07 +0300 Subject: [PATCH] portable template processing --- func/domain.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/func/domain.sh b/func/domain.sh index 44b28be4..08e56b44 100644 --- a/func/domain.sh +++ b/func/domain.sh @@ -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" \