X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/92b88efbe7ee95a026edcca9ff33ee76d26f8901..368d52e8e877e809bdca982964c2cf9d2bab4e0d:/cookbooks/apache/templates/default/evasive.conf.erb?ds=inline diff --git a/cookbooks/apache/templates/default/evasive.conf.erb b/cookbooks/apache/templates/default/evasive.conf.erb index 0596e6b37..7a0303374 100644 --- a/cookbooks/apache/templates/default/evasive.conf.erb +++ b/cookbooks/apache/templates/default/evasive.conf.erb @@ -1,10 +1,11 @@ # DO NOT EDIT - This file is being maintained by Chef - - DOSHashTableSize 65536 - DOSPageCount 10 - DOSSiteCount 150 - DOSPageInterval 1 - DOSSiteInterval 1 - DOSBlockingPeriod 60 + + DOSHashTableSize <%= node[:apache][:evasive][:hash_table_size] %> + DOSPageCount <%= node[:apache][:evasive][:page_count] %> + DOSSiteCount <%= node[:apache][:evasive][:site_count] %> + DOSPageInterval <%= node[:apache][:evasive][:page_interval] %> + DOSSiteInterval <%= node[:apache][:evasive][:site_interval] %> + DOSBlockingPeriod <%= node[:apache][:evasive][:blocking_period] %> + DOSHTTPResponseCode 429