projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e84412
)
Add apache mime type mapping for xz files
author
Tom Hughes
<tom@compton.nu>
Mon, 13 Jul 2015 21:48:53 +0000
(22:48 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 13 Jul 2015 21:48:53 +0000
(22:48 +0100)
Closes #16
cookbooks/apache/templates/default/httpd.conf.erb
patch
|
blob
|
history
diff --git
a/cookbooks/apache/templates/default/httpd.conf.erb
b/cookbooks/apache/templates/default/httpd.conf.erb
index 73e59c7256e6d297df9f9925350f9913537a9c08..f2060f45e25044eee8a7e98536c626dfc4dce267 100644
(file)
--- a/
cookbooks/apache/templates/default/httpd.conf.erb
+++ b/
cookbooks/apache/templates/default/httpd.conf.erb
@@
-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" %>