Add a few extra ProxyPass calls

These avoid a lot of 404 errors, and things like the style editor not working because the browser can't reach scripts, etc.
This commit is contained in:
thisgeekza 2013-12-23 13:15:39 +02:00
parent efd219f67f
commit 42f42270b8
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
</Proxy>
# Prevent requests for /assets from being passed upstream
# Prevent requests for /assets, /javascripts, /plugins and /uploads from being passed upstream
ProxyPass /assets !
ProxyPass /javascripts !
ProxyPass /plugins !
ProxyPass /uploads !
# Pass the everything else
# Pass the everything else
ProxyPass / balancer://thinservers/
ProxyPassReverse / balancer://thinservers/
ProxyPreserveHost on