X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b0e794ecd4ca2669d1f34c563ed2cfcc8b37a06c..8668f1a536f86f7a586dd343ff06aaf9bc2ec502:/cookbooks/apache/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/apache/attributes/default.rb b/cookbooks/apache/attributes/default.rb index 46feacd34..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 @@ -28,6 +28,13 @@ default[:apache][:event][:max_connections_per_child] = 0 default[:apache][:listen_address] = "*" -default[:apache][:ssl][:certificate] = "openstreetmap" - 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