X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fa50a84060d31d9a343e113f4b5cc143a9f8bcef..3cc0b6c70b7913d3de8442f8061db2d5f904ee94:/cookbooks/tilecache/templates/default/squid.conf.erb diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 2184b1be5..942b4debb 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -67,6 +67,8 @@ acl osmtileOverusers referer_regex ^https?://fastpokemap\.com/ acl osmtileOverusers referer_regex ^https?://[^.]*\.fastpokemap\.com/ acl osmtileOverusers referer_regex ^https?://pkget\.com/ acl osmtileOverusers referer_regex ^https?://[^.]*\.pkget\.com/ +acl osmtileOverusers referer_regex ^https?://twpkinfo\.com/ +acl osmtileOverusers referer_regex ^https?://[^.]*\.twpkinfo\.com/ # Faked OSM referers acl osmtileOverusers referer_regex ^http://www\.openstreetmap\.org/?$ @@ -151,10 +153,10 @@ acl pool_unlimited src <%= address %> # Juno Minsk office - me@komzpa.net acl pool_unlimited src 212.98.173.54 +<% if node[:squid][:version] < 4 -%> #Allow tile_caches HTCP access htcp_access allow tile_caches -<% if node[:squid][:version] < 4 -%> #Allow tile_caches ICP access icp_access allow tile_caches