]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/templates/default/cgimap.environment.erb
apache: increase mod_evasive page_count to reduce iD false positives
[chef.git] / cookbooks / dev / templates / default / cgimap.environment.erb
index a49b8f48b7db5f079418be207067ffee6947d0eb..485d58e87b6f4843324a2c2b5bbf6b2b68db1876 100644 (file)
@@ -12,6 +12,7 @@ CGIMAP_MAP_AREA="<%= node[:web][:max_request_area] %>"
 CGIMAP_MAP_NODES"<%= node[:web][:max_number_of_nodes] %>"
 CGIMAP_MAX_WAY_NODES="<%= node[:web][:max_number_of_way_nodes] %>"
 CGIMAP_MAX_RELATION_MEMBERS="<%= node[:web][:max_number_of_relation_members] %>"
 CGIMAP_MAP_NODES"<%= node[:web][:max_number_of_nodes] %>"
 CGIMAP_MAX_WAY_NODES="<%= node[:web][:max_number_of_way_nodes] %>"
 CGIMAP_MAX_RELATION_MEMBERS="<%= node[:web][:max_number_of_relation_members] %>"
+CGIMAP_RATELIMIT_UPLOAD="true"
 <% Hash(@options).each do |name, value| -%>
 CGIMAP_<%= name.to_s.upcase %>="<%= value %>"
 <% end -%>
 <% Hash(@options).each do |name, value| -%>
 CGIMAP_<%= name.to_s.upcase %>="<%= value %>"
 <% end -%>