"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])
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