X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6e03a90f08390553a9488266cb651a34d079acaa..e93e0d3fc5b48738c68e8b6a075c0e53f68e37c0:/cookbooks/apache/templates/default/evasive.conf.erb diff --git a/cookbooks/apache/templates/default/evasive.conf.erb b/cookbooks/apache/templates/default/evasive.conf.erb index fc9a4e6c0..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