]> git.openstreetmap.org Git - chef.git/commitdiff
Set CGIMAP_BBOX_SIZE_LIMIT_UPLOAD for production instances
authorTom Hughes <tom@compton.nu>
Fri, 21 Jun 2024 21:39:48 +0000 (22:39 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 21 Jun 2024 21:39:48 +0000 (22:39 +0100)
cookbooks/web/recipes/cgimap.rb

index d3655068431971c0ee9b2b6802ed0fd9079b1689..380f2a8eb734f9f9a211e8042705029e5458714c 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])