]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Enable mod_brotli for the same content types as mod_deflate
[chef.git] / cookbooks / apache / recipes / default.rb
index f25806fcf4a870e0d9a6d2c97f0dee39bae5b325..c927b87b5015c539583bc19dde39c1162f542421 100644 (file)
@@ -71,6 +71,10 @@ 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
@@ -99,4 +103,5 @@ munin_plugin "apache_volume"
 prometheus_exporter "apache" do
   port 9117
   listen_switch "telemetry.address"
+  options "--scrape_uri=http://localhost/server-status?auto"
 end