diff options
Diffstat (limited to 'sca-cpp/trunk/modules/http/proxy-ssl-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/proxy-ssl-conf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/http/proxy-ssl-conf b/sca-cpp/trunk/modules/http/proxy-ssl-conf index 94318d7db5..150cf88b60 100755 --- a/sca-cpp/trunk/modules/http/proxy-ssl-conf +++ b/sca-cpp/trunk/modules/http/proxy-ssl-conf @@ -24,12 +24,14 @@ root=`echo "import os; print os.path.realpath('$1')" | python` cat >>$root/conf/vhost-ssl.conf <<EOF # Generated by: proxy-ssl-conf $* -# Enable load balancing +# Do not proxy admin pages ProxyPass /balancer-manager ! ProxyPass /server-status ! ProxyPass /server-info ! -ProxyPass / balancer://sslcluster/ +ProxyPass /proxy ! +# Enable load balancing +ProxyPass / balancer://sslcluster/ <Proxy balancer://sslcluster> Require all granted ProxySet lbmethod=byrequests |