anchor.diff:      # Immediately 404 layers we do not support
   <% for i in 20..99 do %>
       location /<%= i %>/ {
  -      set $limit_rate 512;
         return 404;
       }
   <% end %>
   
       # Immediately 404 silly tile requests
       location = /0/0/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/0/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/-1/0.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/-1/1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/-1/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/-1/2.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/1/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /1/2/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /2/0/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /2/-1/0.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /2/-1/1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /2/1/-1.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /2/-1/2.png {
  -      set $limit_rate 512;
         return 404;
       }
       location = /2/-1/3.png {
  -      set $limit_rate 512;
         return 404;
       }
   
  
positive.code: 
        proxy_connect_timeout 20s;
  
        proxy_next_upstream_tries 3;
        proxy_next_upstream error timeout http_502 http_404;
  
        # Replace host header.
        proxy_set_header Host 'tile.openstreetmap.org';
  
negative.code: # DO NOT EDIT - This file is being maintained by Chef
  
  upstream tile_cache_backend {
    server 127.0.0.1:8080 weight=1000;
    server 127.0.0.2:8080 weight=1000;
  
    # Add the tile_siblings caches to relieve pressure if local squid failing
    # Balancer: round-robin
  <% server_weight = 1000 -%>
  <% @node[:tilecache][:tile_siblings].each do |cache_peer| -%>
  <% @caches.each do |cache| -%>
  <% if cache_peer == cache[:fqdn] -%>
  <% if cache[:hostname] != node[:hostname] -%>
  <% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
    server <%= address %>:80 weight=<%= server_weight %> backup; # Server <%= cache[:hostname] %>
  <% server_weight -= server_weight.div(2) -%>
  <% end -%>
  <% end -%>
  <% end -%>
  