attempt to fix fedorapeople repos sending repodata as text/plain

This commit is contained in:
Kevin Fenzi 2018-03-13 18:04:31 +00:00
parent 53c3ca1269
commit a052bdcaef

View file

@ -221,6 +221,16 @@ 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
#
# Match xml.gz to application/x-gzip for repo files
#
<FilesMatch "xml\.gz$">
ForceType application/x-gzip
Header set Content-Encoding: gzip
</FilesMatch>
#
# Everything else that ends in gz is just text/plain
#
<FilesMatch "\.gz$">
ForceType text/plain
Header set Content-Encoding: gzip