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