diff options
Diffstat (limited to 'etc/apache2')
-rw-r--r-- | etc/apache2/sites-available/jenkins.debian.net | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index d7c9ffa9..26343561 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -59,6 +59,19 @@ NameVirtualHost *:443 AddType text/plain .log </Directory> + <FilesMatch "\.gz$"> + AddEncoding gzip .gz + ForceType text/plain + FilterDeclare gzipInflate CONTENT_SET + <IfVersion >= 2.4> + FilterProvider gzipInflate inflate "%{req:Accept-Encoding} !~ /gzip/" + </IfVersion> + <IfVersion <= 2.2> + FilterProvider gzipInflate inflate resp=Accept-Encoding ! $gzip + </IfVersion> + FilterChain +gzipInflate + </FilesMatch> + RewriteEngine on ProxyRequests Off |