]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/attributes/default.rb
tile: use osm2pgsql-replication promethus
[chef.git] / cookbooks / apache / attributes / default.rb
index 1aefe9270900a3e5eb167374fc5826c13775073b..075e4c86f2d443e3f18aa86ecac03cec38f39437 100644 (file)
@@ -29,3 +29,12 @@ 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
+# page_count is misnomer as it can match backends in some cases
+default[:apache][:evasive][:page_count] = 150
+default[:apache][:evasive][:site_count] = 250
+default[:apache][:evasive][:page_interval] = 1
+default[:apache][:evasive][:site_interval] = 1
+default[:apache][:evasive][:blocking_period] = 60