[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] Disable git smart http stuff, it uses lots of RAM



---
 etc/apache.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/etc/apache.conf b/etc/apache.conf
index 592c398..3c19de5 100644
--- a/etc/apache.conf
+++ b/etc/apache.conf
@@ -15,9 +15,7 @@ WSGIDaemonProcess snapshot.debian.org user=nobody group=nogroup home=/ processes
 
   #Alias /git         /srv/snapshot.debian.org/snapshot.git
   SetEnv GIT_PROJECT_ROOT /srv/snapshot.debian.org/all-git
-  AliasMatch ^/gits/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$          /srv/snapshot.debian.org/all-git/$1
-  AliasMatch ^/gits/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/snapshot.debian.org/all-git/$1
-  ScriptAlias /gits/ /usr/lib/git-core/git-http-backend/
+  AliasMatch ^/gits/(.*)$ /srv/snapshot.debian.org/all-git/$1
 
   RewriteEngine on
   RewriteRule ^/archive/backports.org/(.*) /archive/debian-backports/$1 [L,R]
-- 
2.1.4


Reply to: