diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-29 10:44:56 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-05-03 20:00:53 +0200 |
commit | 7d23b320c9ea00ca3e5f1cd263b2d594d1685214 (patch) | |
tree | 70e783bdb86a9bfaa3fe085c8d75f4270da0ceb7 /etc | |
parent | 067407932d09e452870c371ba83eda6d96f98594 (diff) | |
download | jenkins.debian.net-7d23b320c9ea00ca3e5f1cd263b2d594d1685214.tar.xz |
apache: teach apache how to serve compressed files
Diffstat (limited to 'etc')
-rw-r--r-- | etc/apache2/sites-available/jenkins.debian.net | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index d7c9ffa9..76e1b2e4 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 |