X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45c5fe3c51b684fbca8cdab530879c4439438bbe..68e068818d559ef35bdf2a138a93596337828ef9:/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 7fb1efde2..743599b52 100644 --- a/cookbooks/dev/templates/default/cgimap.environment.erb +++ b/cookbooks/dev/templates/default/cgimap.environment.erb @@ -4,7 +4,11 @@ CGIMAP_PORT="<%= @cgimap_port %>" CGIMAP_DBPORT="<%= @database_port %>" CGIMAP_DBNAME="<%= @database_name %>" CGIMAP_USERNAME="apis" -CGIMAP_LOGFILE="<%= @rails_directory %>/log/cgimap.log" +CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log" CGIMAP_MEMCACHE="127.0.0.1" CGIMAP_RATELIMIT="204800" CGIMAP_MAXDEBT="250" +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] %>"