 
         # try again with another upstream if there is an error
         proxy_next_upstream   error timeout   invalid_header http_500;
-
-        proxy_set_header      X-name #{name};
 
         # proxy should connect in 1 second
         proxy_connect_timeout 5;

  master_process #{if inDevEnvironment then "off" else "on"};


  error_log  logs/error.log;
  error_log  logs/error.log  notice;
  error_log  logs/error.log  info;

  #{if inDevEnvironment then '' else 'pid /var/run/nginx.pid;'}

  events {
    worker_connections 20;
    multi_accept on;
    #{event_mechanism}
  }

      }

      #{createLocations(KONFIG)}

    # close server
    }
