]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
tilecache: switch port 80 traffic to nginx
[chef.git] / cookbooks / tilecache / templates / default / squid.conf.erb
index 4b114549713ca93862f8ea4ee07cad5662f52c2e..69e91976b51735716c52d411d71e60ffd147db56 100644 (file)
@@ -119,7 +119,7 @@ acl tile_caches src <%= address %>
 
 # 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
@@ -151,10 +151,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