From 7d23b320c9ea00ca3e5f1cd263b2d594d1685214 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 29 Apr 2015 10:44:56 +0200 Subject: apache: teach apache how to serve compressed files --- etc/apache2/sites-available/jenkins.debian.net | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'etc') 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 + + AddEncoding gzip .gz + ForceType text/plain + FilterDeclare gzipInflate CONTENT_SET + FilterProvider gzipInflate inflate "%{req:Accept-Encoding} !~ /gzip/" + FilterChain +gzipInflate + + RewriteEngine on ProxyRequests Off -- cgit v1.2.3-70-g09d2