X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..5e01e28d3970940f3be03d7bfa514373175caad8:/cookbooks/dev/templates/default/cgimap.environment.erb diff --git a/cookbooks/dev/templates/default/cgimap.environment.erb b/cookbooks/dev/templates/default/cgimap.environment.erb index 743599b52..2dacd9982 100644 --- a/cookbooks/dev/templates/default/cgimap.environment.erb +++ b/cookbooks/dev/templates/default/cgimap.environment.erb @@ -1,6 +1,6 @@ # DO NOT EDIT - This file is being maintained by Chef -CGIMAP_PORT="<%= @cgimap_port %>" +CGIMAP_SOCKET="<%= @cgimap_socket %>" CGIMAP_DBPORT="<%= @database_port %>" CGIMAP_DBNAME="<%= @database_name %>" CGIMAP_USERNAME="apis" @@ -12,3 +12,8 @@ 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_RATELIMIT_UPLOAD="true" +CGIMAP_BBOX_SIZE_LIMIT_UPLOAD="true" +<% Hash(@options).each do |name, value| -%> +CGIMAP_<%= name.to_s.upcase %>="<%= value %>" +<% end -%>