From 42f42270b885b74535a9cc0d42db0fd52d191325 Mon Sep 17 00:00:00 2001 From: thisgeekza Date: Mon, 23 Dec 2013 13:15:39 +0200 Subject: [PATCH] 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. --- config/apache2.conf.sample | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/apache2.conf.sample b/config/apache2.conf.sample index dca63012d10..f004f4c96d5 100644 --- a/config/apache2.conf.sample +++ b/config/apache2.conf.sample @@ -33,10 +33,13 @@ Header set Server "Sample Server Name" BalancerMember http://127.0.0.1:3002 - # 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