summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/proxy-ssl-member-conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/modules/http/proxy-ssl-member-conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/proxy-ssl-member-conf b/sca-cpp/trunk/modules/http/proxy-ssl-member-conf
index 55930b7ef2..5ed1f4959f 100755
--- a/sca-cpp/trunk/modules/http/proxy-ssl-member-conf
+++ b/sca-cpp/trunk/modules/http/proxy-ssl-member-conf
@@ -20,8 +20,9 @@
# Add a proxy balancer member
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
+
host=$2
-sslport=`echo $3 | awk -F "/" '{ print $1 }'`
+sslport=`$here/httpd-addr port $3`
cat >>$root/conf/vhost-ssl.conf <<EOF
# Generated by: proxy-ssl-member-conf $*