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