Merge pull request #1765 from thisgeekza/patch-1

Add a few extra ProxyPass calls
This commit is contained in:
Sam 2014-01-05 16:26:07 -08:00
commit 92aee27028
1 changed files with 5 additions and 2 deletions

View File

@ -33,10 +33,13 @@ Header set Server "Sample Server Name"
BalancerMember http://127.0.0.1:3002 BalancerMember http://127.0.0.1:3002
</Proxy> </Proxy>
# Prevent requests for /assets from being passed upstream # Prevent requests for /assets, /javascripts, /plugins and /uploads from being passed upstream
ProxyPass /assets ! ProxyPass /assets !
ProxyPass /javascripts !
ProxyPass /plugins !
ProxyPass /uploads !
# Pass the everything else # Pass the everything else
ProxyPass / balancer://thinservers/ ProxyPass / balancer://thinservers/
ProxyPassReverse / balancer://thinservers/ ProxyPassReverse / balancer://thinservers/
ProxyPreserveHost on ProxyPreserveHost on