set Expires to 1 week also for .gz files
[mirror/dsa-puppet.git] / modules / roles / templates / apache-alioth-archive.debian.org.erb
index 6531cc7..b09456d 100644 (file)
        <Directory /srv/alioth-archive.debian.org/htdocs>
                Require all granted
                AllowOverride none
+               Options Indexes
        </Directory>
 
        RewriteEngine On
 
+       ExpiresActive On
+       ExpiresDefault "access plus 2 hours"
+       ExpiresByType application/x-xz "access plus 1 week"
+       ExpiresByType application/x-gzip "access plus 1 week"
+
        <IfModule mod_userdir.c>
                UserDir disabled
        </IfModule>