X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/28b40a4b2e7dfc11157cc4c94f621028c729405d..368d52e8e877e809bdca982964c2cf9d2bab4e0d:/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 ef5607679..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 50 - DOSSiteCount 250 - 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