anchor.diff:               .threshold = 3;
     }
   }
  +<% end %>
  +
  +<% if @node[:varnish][:blog_proxy_host] %>
  +  backend blog_server {
  +    .host = "<%= @node[:varnish][:blog_proxy_host] %>";
  +    .port = "<%= @node[:varnish][:blog_proxy_port] %>";
  +  }
   <% end %>
   
   <% if @node[:chef][:roles].include?('proxy') %>
  
positive.code:     set req.grace = 24h;
    
      # set the backend server based on request (if multi-server stack)
    <% if @node[:chef][:roles].include?('staging') %>
      set req.backend = app_server_1;
    <% elsif @node[:chef][:roles].include?('proxy') %>
      if (req.url ~ "^(/images|/javascripts|/flash|/stylesheets|/sitemap|/articles/html|/articles/xml|/regulations/html)") {
        set req.backend = static_server;
        return (lookup);
      } else {
        set req.backend = app_director;
      }
  
negative.code:     # Actual browser/upstream cache is being set by the nginx proxy in front of varnish
      unset beresp.http.Cache-Control;
      
      # serve slightly stale content while a fresh version is fetched
      # better user experience and no thread pile up on the app servers
      set beresp.grace = 24h;
  