Mercurial > repos > other > Puppet
changeset 116:3c4f495d4eac puppet-3.6
Make sure that we're detecting and serving 7zip and RAR files correctly
(Especially important now that we send a NOSNIFF header)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Jun 2016 20:49:56 +0100 |
parents | b35a9df52965 |
children | 3fdde0638538 |
files | modules/website/files/zzz-0-custom.conf |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/website/files/zzz-0-custom.conf Tue Jun 28 20:36:42 2016 +0100 +++ b/modules/website/files/zzz-0-custom.conf Wed Jun 29 20:49:56 2016 +0100 @@ -5,6 +5,8 @@ DirectoryIndex index.php index.html AddType image/x-icon .ico +AddType application/x-7z-compressed .7z +AddType application/x-rar .rar ExpiresActive On ExpiresByType image/jpeg "access plus 2 weeks"