]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/cgimap.rb
Disable OAuth 1.0a and basic authentication
[chef.git] / cookbooks / web / recipes / cgimap.rb
index 7188b5373a5ec4238bd891243dfb2fcef91c8fca..4f1b46e00290a9024baef750bf2d553ac9ea439c 100644 (file)
@@ -50,7 +50,8 @@ cgimap_options = {
   "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"
+  "CGIMAP_RATELIMIT_UPLOAD" => "true",
+  "CGIMAP_BBOX_SIZE_LIMIT_UPLOAD" => "true"
 }
 
 if %w[database_readonly api_readonly].include?(node[:web][:status])