From 6fcd4c022d8ae2b5f60b25f43acb393805c0cd0b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 3 Jul 2022 22:19:34 +0100 Subject: [PATCH] Revert "Enable mod_brotli for the same content types as mod_deflate" This reverts commit f2fb9bfa575dfe8de24a4153333e033860270780. --- cookbooks/apache/recipes/default.rb | 4 ---- cookbooks/apache/templates/default/brotli.conf.erb | 12 ------------ 2 files changed, 16 deletions(-) delete mode 100644 cookbooks/apache/templates/default/brotli.conf.erb diff --git a/cookbooks/apache/recipes/default.rb b/cookbooks/apache/recipes/default.rb index c927b87b5..d443f1e40 100644 --- a/cookbooks/apache/recipes/default.rb +++ b/cookbooks/apache/recipes/default.rb @@ -71,10 +71,6 @@ apache_module "status" do variables :hosts => admins["hosts"] end -apache_module "brotli" do - conf "brotli.conf.erb" -end - apache_module "deflate" do conf "deflate.conf.erb" end diff --git a/cookbooks/apache/templates/default/brotli.conf.erb b/cookbooks/apache/templates/default/brotli.conf.erb deleted file mode 100644 index 7000e590e..000000000 --- a/cookbooks/apache/templates/default/brotli.conf.erb +++ /dev/null @@ -1,12 +0,0 @@ -# DO NOT EDIT - This file is being maintained by Chef - - - - AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml - AddOutputFilterByType BROTLI_COMPRESS text/css - AddOutputFilterByType BROTLI_COMPRESS application/x-javascript application/javascript application/ecmascript - AddOutputFilterByType BROTLI_COMPRESS application/rss+xml - AddOutputFilterByType BROTLI_COMPRESS application/xml - AddOutputFilterByType BROTLI_COMPRESS image/svg+xml - - -- 2.39.5