From: Tom Hughes Date: Tue, 5 Jun 2018 10:38:03 +0000 (+0100) Subject: Add host FQDN to allowed domains for tile caches X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/a968b040a923b5d12aace1b2f71065c783fdce78 Add host FQDN to allowed domains for tile caches --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 8c2adc7c1..c38e4b285 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -1,4 +1,4 @@ -acl osmtile_sites dstdomain a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org tile.openstreetmap.org a.tile.osm.org b.tile.osm.org c.tile.osm.org tile.osm.org +acl osmtile_sites dstdomain <%= node[:fqdn] %> a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org tile.openstreetmap.org a.tile.osm.org b.tile.osm.org c.tile.osm.org tile.osm.org acl osmtiles_png urlpath_regex .png$ acl osmtileScrapers browser ^$