anchor.diff:        proxy_intercept_errors on;
         proxy_set_header       X-Forwarded-Proto 'https';
       }
  -    
  +
  +    error_page 502 503 /502_503_proxy.html;  
  +    location = /502_503_proxy.html {  
  +        root  <%= @node[:nginx][:doc_root] %>;  
  +    }
  +
  +    client_max_body_size <%= @node[:nginx][:client_max_body_size] %>;
     }
     <% end %>
   
  
positive.code: 
      location ~* ^(/images|/javascripts|/stylesheets|/uploads) {
         expires 1y;
         
         proxy_pass             http://varnish;
         proxy_redirect         http://varnish/ http://$host:$server_port/;
  
negative.code:       rewrite  /Catalog.aspx           http://www.ofr.gov/Catalog.aspx           permanent;
        rewrite  /AboutUs.aspx           http://www.ofr.gov/AboutUs.aspx           permanent;
        rewrite  /ContactUs.aspx         http://www.ofr.gov/ContactUs.aspx         permanent;
  
        # redirect everything to SSL
        rewrite ^/(.*)                   https://<%= @node[:nginx][:host_name] %>/$1 permanent;
        <% end %>
        
        
        client_max_body_size <%= @node[:nginx][:client_max_body_size] %>;
        
        
        <% if @node[:chef][:roles].include?('static') %>
        
        # set cache control
        expires 1y;
        
        # doc root
        root <%= @node[:nginx][:doc_root] %>;
  