mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 14:02:12 +08:00
attempt to fix fedorapeople repos sending repodata as text/plain
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user