show gz files on people instead of downloading them

This commit is contained in:
Kevin Fenzi 2017-05-22 17:33:32 +00:00
parent cc29d3ed65
commit 45626dc9e2

View file

@ -218,6 +218,11 @@ SetOutputFilter DEFLATE
AddType video/webm .webm
AddType text/plain .spec
AddType application/vnd.android.package-archive .apk
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
<FilesMatch "\.gz$">
ForceType text/plain
Header set Content-Encoding: gzip
</FilesMatch>
<Location />
# Insert filter