From a052bdcaef4fc0553cea67a331c4efd3ca98a39e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 13 Mar 2018 18:04:31 +0000 Subject: [PATCH] attempt to fix fedorapeople repos sending repodata as text/plain --- roles/people/templates/people.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/people/templates/people.conf b/roles/people/templates/people.conf index ca57fa3a8c..0b46581ae4 100644 --- a/roles/people/templates/people.conf +++ b/roles/people/templates/people.conf @@ -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 +# + + ForceType application/x-gzip + Header set Content-Encoding: gzip + +# +# Everything else that ends in gz is just text/plain +# ForceType text/plain Header set Content-Encoding: gzip