From 3ac8ca7868ade978a3d0fc74113f3276e5c183ec Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 18 Dec 2011 20:19:11 +0000 Subject: Add ability to configure an HTTPS proxy with load balancing over a set of HTTP backend servers and get OAuth authentication working with that topology. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1220526 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/http/proxy-member-conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/modules/http/proxy-member-conf') diff --git a/sca-cpp/trunk/modules/http/proxy-member-conf b/sca-cpp/trunk/modules/http/proxy-member-conf index 2e279e87c7..83c43df49f 100755 --- a/sca-cpp/trunk/modules/http/proxy-member-conf +++ b/sca-cpp/trunk/modules/http/proxy-member-conf @@ -24,12 +24,17 @@ root=`echo "import os; print os.path.realpath('$1')" | python` host=$2 port=`$here/httpd-addr port $3` +if [ "$port" = "80" ]; then + portsuffix="" +else + portsuffix=":$port" +fi cat >>$root/conf/vhost.conf <