anchor.diff:  }
   
   upstream chef_server_webui {
  -  server 127.0.0.1:<%= node['chef_server']['webui_port'] %> fail_timeout=0; 
  +  server 127.0.0.1:<%= node['chef_server']['webui_port'] %> fail_timeout=0;
   }
   
   server {
  
positive.code:   ssl_certificate /etc/chef/certificates/chef-server-proxy.pem;
    ssl_certificate_key /etc/chef/certificates/chef-server-proxy.pem;
    server_name <%= @api_server_name %>;
    access_log <%= node[:nginx][:log_dir] %>/chef-server.access.log;
    error_log <%= node[:nginx][:log_dir] %>/chef-server.error.log warn;
  
    root <%= node['chef_server']['doc_root'] %>;
    
    location @chef_server {
      proxy_set_header X-Forwarded-Proto https;
      proxy_set_header Host $http_host;
  
      proxy_pass http://chef_server;
    }
    
    location / {
      try_files $uri @chef_server;
    }
  
negative.code: <% if @api_aliases && @api_aliases.length > 0 %>
  server {
    server_name <%= @api_aliases.join(' ') %>;
    access_log <%= node['nginx']['log_dir'] %>/chef-server.access.log;
    error_log <%= node['nginx']['log_dir'] %>/chef-server.error.log warn;
  
    rewrite ^(.+)$ https://<%= @api_server_name %>$1 permanent;
  }
  
  