X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f62b7a4fe91bc06c6d58dbf48e1abc94907a1a08..8e010de9a9d26d57220d326e69bb0440098cf22e:/cookbooks/web/recipes/cgimap.rb diff --git a/cookbooks/web/recipes/cgimap.rb b/cookbooks/web/recipes/cgimap.rb index 7188b5373..380f2a8eb 100644 --- a/cookbooks/web/recipes/cgimap.rb +++ b/cookbooks/web/recipes/cgimap.rb @@ -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]) @@ -64,7 +65,7 @@ systemd_service "cgimap" do user "rails" group "www-data" umask "0002" - exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30 --basic_auth_support false --oauth_10_support falsE" + exec_start "/usr/bin/openstreetmap-cgimap --daemon --instances 30" exec_reload "/bin/kill -HUP $MAINPID" runtime_directory "cgimap" private_tmp true