From fb274af9e1eef1e5c9eee9c86203be1ab04ef433 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Thu, 29 Nov 2018 19:25:51 +0000 Subject: [PATCH] You can not put a filesmatch inside of another entry.. so we either need to make virtual hosts with different rules or something else. Going for something else. --- roles/people/templates/people.conf | 49 +++++++++++++----------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/roles/people/templates/people.conf b/roles/people/templates/people.conf index a5fb8ae38a..46a7e76b85 100644 --- a/roles/people/templates/people.conf +++ b/roles/people/templates/people.conf @@ -221,27 +221,27 @@ 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 -# -# Everything else that ends in gz is just text/plain -# - - ForceType text/plain - Header set Content-Encoding: gzip - -# -# Match xml.gz to application/x-gzip for repo files -# - - ForceType application/x-gzip - Header unset Content-Encoding - -# -# Match tar.gz to application/x-gzip for repo files -# - - ForceType application/x-gzip - Header unset Content-Encoding - +# # +# # Everything else that ends in gz is just text/plain +# # +# +# ForceType text/plain +# Header set Content-Encoding: gzip +# +# # +# # Match xml.gz to application/x-gzip for repo files +# # +# +# ForceType application/x-gzip +# Header unset Content-Encoding +# +# # +# # Match tar.gz to application/x-gzip for repo files +# # +# +# ForceType application/x-gzip +# Header unset Content-Encoding +# # Insert filter @@ -269,13 +269,6 @@ AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css a Header append Vary User-Agent env=!dont-vary - - - ForceType application/x-gzip - Header unset Content-Encoding - - - Header set Cache-Control "must-revalidate" ExpiresActive On