diff options
Diffstat (limited to 'sca-cpp/trunk/modules/http/proxy-member-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/proxy-member-conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/proxy-member-conf b/sca-cpp/trunk/modules/http/proxy-member-conf index 83c43df49f..a046a4fd08 100755 --- a/sca-cpp/trunk/modules/http/proxy-member-conf +++ b/sca-cpp/trunk/modules/http/proxy-member-conf @@ -30,10 +30,15 @@ else portsuffix=":$port" fi +bal=$4 +if [ "$bal" = "" ]; then + bal="cluster" +fi + cat >>$root/conf/vhost.conf <<EOF # Generated by: proxy-member-conf $* # Add proxy balancer member -BalancerMember balancer://cluster http://$host$portsuffix +BalancerMember balancer://$bal http://$host$portsuffix ProxyPassReverse / http://$host$portsuffix/ EOF |