]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/attributes/default.rb
Tidy up mod_evasive configuration
[chef.git] / cookbooks / apache / attributes / default.rb
index 8e051057f8ccb88699c50a65caa81408103f8492..a9cde038c5f0bdc212981a9dd609331ed09e535d 100644 (file)
@@ -1,4 +1,4 @@
-default[:apache][:mpm] = "worker"
+default[:apache][:mpm] = "event"
 
 default[:apache][:timeout] = 300
 
 
 default[:apache][:timeout] = 300
 
@@ -29,3 +29,11 @@ default[:apache][:event][:max_connections_per_child] = 0
 default[:apache][:listen_address] = "*"
 
 default[:apache][:buffered_logs] = true
 default[:apache][:listen_address] = "*"
 
 default[:apache][:buffered_logs] = true
+
+default[:apache][:evasive][:enable] = true
+default[:apache][:evasive][:hash_table_size] = 65536
+default[:apache][:evasive][:page_count] = 50
+default[:apache][:evasive][:site_count] = 250
+default[:apache][:evasive][:page_interval] = 1
+default[:apache][:evasive][:site_interval] = 1
+default[:apache][:evasive][:blocking_period] = 60