X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c2737f8d666b7c1b24a6572697330200b4937aac..561e7914a6ed4d38c636e61457a1e49cc7d4052e:/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 92b035525..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 50 - 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