X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8e9e103e9f748fe7a104c4fba00cc72a847e2d3a..901782e5452c232c7e6f644f2c56a3903b09edf3:/cookbooks/tile/templates/default/renderd.conf.erb diff --git a/cookbooks/tile/templates/default/renderd.conf.erb b/cookbooks/tile/templates/default/renderd.conf.erb index ebd8c14eb..69479e0b0 100644 --- a/cookbooks/tile/templates/default/renderd.conf.erb +++ b/cookbooks/tile/templates/default/renderd.conf.erb @@ -7,7 +7,7 @@ tile_dir=/srv/tile.openstreetmap.org/tiles stats_file=/var/run/renderd/renderd.stats [mapnik] -plugins_dir=/usr/lib/mapnik/input +plugins_dir=/usr/lib/mapnik/3.0/input font_dir=/usr/share/fonts font_dir_recurse=true <% node[:tile][:styles].each do |name,details| -%> @@ -16,4 +16,7 @@ font_dir_recurse=true URI=/<%= name %>/ XML=/srv/tile.openstreetmap.org/styles/<%= name %>/project.xml HOST=tile.openstreetmap.org +MINZOOM=0 +MAXZOOM=<%= details[:max_zoom] %> +CORS=* <% end -%>