]> git.openstreetmap.org Git - chef.git/commitdiff
Add apache mime type mapping for xz files
authorTom Hughes <tom@compton.nu>
Mon, 13 Jul 2015 21:48:53 +0000 (22:48 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 13 Jul 2015 21:48:53 +0000 (22:48 +0100)
Closes #16

cookbooks/apache/templates/default/httpd.conf.erb

index 73e59c7256e6d297df9f9925350f9913537a9c08..f2060f45e25044eee8a7e98536c626dfc4dce267 100644 (file)
@@ -49,4 +49,8 @@ MaxRequestsPerChild <%= node[:apache][:event][:max_requests_per_child] %>
 # Default to UTF-8
 AddDefaultCharset utf-8
 
+# Add extra mime types
+AddType application/x-xz .xz
+
+# Configure logging
 BufferedLogs <%= node[:apache][:buffered_logs] ? "On" : "Off" %>