X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8b76d84463ee5ff866d7d1c6595339173033f167..0027d0084da35d700e08b77d42a6e2e7e61655d1:/cookbooks/apache/attributes/default.rb diff --git a/cookbooks/apache/attributes/default.rb b/cookbooks/apache/attributes/default.rb index 1aefe9270..075e4c86f 100644 --- a/cookbooks/apache/attributes/default.rb +++ b/cookbooks/apache/attributes/default.rb @@ -29,3 +29,12 @@ default[:apache][:event][:max_connections_per_child] = 0 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