summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/proxy-ssl-conf
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-12-18 20:19:11 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-12-18 20:19:11 +0000
commit3ac8ca7868ade978a3d0fc74113f3276e5c183ec (patch)
treebcec824aaee082426af297c1ebc331b98c25824f /sca-cpp/trunk/modules/http/proxy-ssl-conf
parent0498e9dd768e270b74045acd96075306c29a9b4a (diff)
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
Diffstat (limited to 'sca-cpp/trunk/modules/http/proxy-ssl-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/proxy-ssl-conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/proxy-ssl-conf b/sca-cpp/trunk/modules/http/proxy-ssl-conf
index 6897a0ff47..7e8003d283 100755
--- a/sca-cpp/trunk/modules/http/proxy-ssl-conf
+++ b/sca-cpp/trunk/modules/http/proxy-ssl-conf
@@ -40,6 +40,11 @@ HostnameLookups on
Require user admin
</Location>
+<Location />
+RequestHeader set X-Forwarded-HTTPS %{HTTPS}s
+RequestHeader set X-Forwarded-Port %{SERVER_PORT}s
+</Location>
+
EOF
cat >>$root/conf/svhost-ssl.conf <<EOF