]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/renderd.conf.erb
Block requests for tiles unless they come from a CDN node
[chef.git] / cookbooks / tile / templates / default / renderd.conf.erb
index d02202d066d0ab656989a0c698df5d1ce090c994..8f441db2ca216269b8a627b85a1455861e02ad39 100644 (file)
@@ -7,7 +7,7 @@ tile_dir=/srv/tile.openstreetmap.org/tiles
 stats_file=/var/run/renderd/renderd.stats
 
 [mapnik]
-plugins_dir=/usr/lib/mapnik/3.0/input
+plugins_dir=/usr/lib/mapnik/<%= node[:tile][:mapnik] %>/input
 font_dir=/usr/share/fonts
 font_dir_recurse=true
 <% node[:tile][:styles].each do |name,details| -%>