X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2cd52dc46c86cc311b6961163708a771ea4e30ef..ae7c3c728ad4b1a4a1c71715a43e1f0d44a5289b:/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 aa3af2ff9..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/?$ @@ -126,7 +128,7 @@ cache_peer <%= sibling %> sibling 3128 4827 htcp weight=1500 <% if node[:squid][:version] < 4 -%> cache_peer <%= node[:tilecache][:tile_parent] %> parent 443 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=120 no-digest weight=1000 ssl ssldomain=render.openstreetmap.org <% else -%> -cache_peer <%= node[:tilecache][:tile_parent] %> parent 443 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=120 no-digest weight=1000 tls tlsdomain=render.openstreetmap.org standby=32 +cache_peer <%= node[:tilecache][:tile_parent] %> parent 443 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=120 no-digest weight=1000 tls tlsdomain=render.openstreetmap.org <% end -%> cache_peer_access osmtileAccel allow osmtile_sites