X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/96ec481d8fc8db85b44daee8d87889d8fce909d4..88c3da7e61393b6f78f9e6c6619cb0458fdce55a:/cookbooks/apache/attributes/default.rb diff --git a/cookbooks/apache/attributes/default.rb b/cookbooks/apache/attributes/default.rb index cff5e5b83..075e4c86f 100644 --- a/cookbooks/apache/attributes/default.rb +++ b/cookbooks/apache/attributes/default.rb @@ -1,4 +1,4 @@ -default[:apache][:mpm] = "worker" +default[:apache][:mpm] = "event" default[:apache][:timeout] = 300 @@ -30,4 +30,11 @@ default[:apache][:listen_address] = "*" default[:apache][:buffered_logs] = true -default[:apache][:reqtimeout] = false +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