anchor.diff:  <%= select_upstream("opscode_erchef") %>
       }
   
  +    # search index request
  +    location ~ "^/organizations/[a-z0-9\-_]+?/(?:search)/?$" {
  +<%= select_upstream("opscode_erchef") %>
  +    }
  +
   <%- if node['private_chef']['lb']['cache_cookbook_files'] -%>    
       location ~ "^/organizations/[a-z0-9\-_]+?/cookbooks/[\w\.]+/(\d+\.\d+\.\d+|_latest)/files/.+$" {
   <%= select_upstream("#{node['private_chef']['opscode-chef']['upload_vip']}:#{node['private_chef']['opscode-chef']['upload_port']}", "opscode_webui", node['private_chef']['opscode-chef']['upload_proto']) %>
  
positive.code: <%= select_upstream("opscode_erchef") %>
      }
  
  <%- if node['private_chef']['lb']['cache_cookbook_files'] -%>    
      location ~ "^/organizations/[a-z0-9\-_]+?/cookbooks/[\w\.]+/(\d+\.\d+\.\d+|_latest)/files/.+$" {
  <%= select_upstream("#{node['private_chef']['opscode-chef']['upload_vip']}:#{node['private_chef']['opscode-chef']['upload_port']}", "opscode_webui", node['private_chef']['opscode-chef']['upload_proto']) %>
  
negative.code: <%= select_upstream("opscode_erchef") %>
      }
  
      # search index request
      location ~ "^/organizations/[a-z0-9\-_]+?/(?:search)/?$" {
  <%= select_upstream("opscode_erchef") %>
      }
  
      # cookbooks must go to the vip running opscode-chef directly (webui hits this)
      location ~ "^/organizations/[a-z0-9\-_]+?/(?:cookbooks|sandboxes)/{0,1}.*$" {
        set $my_upstream <%= node['private_chef']['opscode-chef']['upload_internal_vip'] %>:<%= node['private_chef']['opscode-chef']['upload_internal_port'] %>;
  