]> git.openstreetmap.org Git - chef.git/commitdiff
Revert "Enable mod_brotli for the same content types as mod_deflate"
authorTom Hughes <tom@compton.nu>
Sun, 3 Jul 2022 21:19:34 +0000 (22:19 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 3 Jul 2022 21:19:34 +0000 (22:19 +0100)
This reverts commit f2fb9bfa575dfe8de24a4153333e033860270780.

cookbooks/apache/recipes/default.rb
cookbooks/apache/templates/default/brotli.conf.erb [deleted file]

index c927b87b5015c539583bc19dde39c1162f542421..d443f1e409ce5eff9c76c861ca67f2bddb176583 100644 (file)
@@ -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 (file)
index 7000e59..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# DO NOT EDIT - This file is being maintained by Chef
-
-<IfModule mod_deflate.c>
-        <IfModule mod_filter.c>
-                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
-        </IfModule>
-</IfModule>