]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tile/templates/default/renderd.conf.erb
Exempt /server-status from redirection on tile servers
[chef.git] / cookbooks / tile / templates / default / renderd.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 [renderd]
4 socketname=/var/run/renderd/renderd.sock
5 num_threads=<%= node[:cpu][:total] - 2 %>
6 tile_dir=/srv/tile.openstreetmap.org/tiles
7 stats_file=/var/run/renderd/renderd.stats
8
9 [mapnik]
10 plugins_dir=/usr/lib/mapnik/3.0/input
11 font_dir=/usr/share/fonts
12 font_dir_recurse=true
13 <% node[:tile][:styles].each do |name,details| -%>
14
15 [<%= name %>]
16 URI=/<%= name %>/
17 XML=/srv/tile.openstreetmap.org/styles/<%= name %>/project.xml
18 HOST=tile.openstreetmap.org
19 MINZOOM=0
20 MAXZOOM=<%= details[:max_zoom] %>
21 CORS=*
22 <% end -%>