diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-04-02 06:23:35 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-04-02 06:23:35 +0000 |
commit | 54b61a4f65fb36be0bc3f190707aac2c4226a4a9 (patch) | |
tree | 5558f85da71d2f0a530001412f339fdc51495315 /sca-cpp/trunk/modules/http/proxy-ssl-conf | |
parent | d28e692331d0fa5cc4a8aa010f4c715da07abf7e (diff) |
Support multiple Auth modules in a single server or proxy config. Minor fixes to the OAuth2 module to comply with the spec.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308244 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/proxy-ssl-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/proxy-ssl-conf | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sca-cpp/trunk/modules/http/proxy-ssl-conf b/sca-cpp/trunk/modules/http/proxy-ssl-conf index 7e8003d283..d87aea6670 100755 --- a/sca-cpp/trunk/modules/http/proxy-ssl-conf +++ b/sca-cpp/trunk/modules/http/proxy-ssl-conf @@ -26,6 +26,8 @@ cat >>$root/conf/vhost-ssl.conf <<EOF # Generated by: proxy-ssl-conf $* # Enable load balancing ProxyPass /balancer-manager ! +ProxyPass /server-status ! +ProxyPass /server-info ! ProxyPass / balancer://sslcluster/ <Proxy balancer://sslcluster> @@ -33,6 +35,11 @@ Require all granted ProxySet lbmethod=byrequests </Proxy> +<Location /> +RequestHeader set X-Forwarded-HTTPS %{HTTPS}s +RequestHeader set X-Forwarded-Port %{SERVER_PORT}s +</Location> + # Enable balancer manager <Location /balancer-manager> SetHandler balancer-manager @@ -40,11 +47,6 @@ 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 |