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/?$
# Siblings
<% node[:tilecache][:tile_siblings].each do |sibling| -%>
-cache_peer <%= sibling %> sibling 3128 3130 weight=1500
+cache_peer <%= sibling %> sibling 3128 4827 htcp weight=1500
<% end -%>
# Primary Parent
# 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
#Allow tile_caches ICP access
icp_access allow tile_caches
+<% end %>
<% (0..127).each do |i| -%>
acl pool_<%= sprintf("%03d", 2*i) %> src <%= 2*i %>.0.0.0/7