[Qa-jenkins-scm] [jenkins.debian.net] 01/01: apache: teach apache how to serve compressed files
Holger Levsen
holger at moszumanska.debian.org
Sun May 3 18:01:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 7d23b320c9ea00ca3e5f1cd263b2d594d1685214
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Wed Apr 29 10:44:56 2015 +0200
apache: teach apache how to serve compressed files
---
etc/apache2/sites-available/jenkins.debian.net | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index d7c9ffa..76e1b2e 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -59,6 +59,14 @@ NameVirtualHost *:443
AddType text/plain .log
</Directory>
+ <FilesMatch "\.gz$">
+ AddEncoding gzip .gz
+ ForceType text/plain
+ FilterDeclare gzipInflate CONTENT_SET
+ FilterProvider gzipInflate inflate "%{req:Accept-Encoding} !~ /gzip/"
+ FilterChain +gzipInflate
+ </FilesMatch>
+
RewriteEngine on
ProxyRequests Off
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list