Use Apache to compress status.json
Doing this in python is teh suck on large status pages. Apache is pretty good at it. Partial-bug: 1326170 Change-Id: Iccee19dd6179f5a5f928fef43068d2450828fa0d
This commit is contained in:
parent
aac34ce01b
commit
7fced08a32
@ -11,6 +11,8 @@
|
||||
RewriteEngine on
|
||||
RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P]
|
||||
|
||||
AddOutputFilterByType DEFLATE application/json
|
||||
|
||||
Alias /rechecks.html /var/www/recheckwatch/rechecks.html
|
||||
Alias /rechecks /var/www/recheckwatch/rechecks.html
|
||||
|
||||
@ -20,4 +22,5 @@
|
||||
AliasMatch ^/p/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/lib/zuul/git/$1
|
||||
AliasMatch ^/p/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/lib/zuul/git/$1
|
||||
ScriptAlias /p/ /usr/lib/git-core/git-http-backend/
|
||||
|
||||
</VirtualHost>
|
||||
|
Loading…
x
Reference in New Issue
Block a user