       # Hackathon2014 is the old hackathon page and served via webserver
       # todo(cihangir) remove after hubspot integration
       location = /Hackathon2014 {
+        proxy_set_header      Host            $host;
+        proxy_set_header      X-Host          $host; # for customisation
         proxy_set_header      X-Real-IP       $remote_addr;
         proxy_set_header      X-Forwarded-For $proxy_add_x_forwarded_for;
 


  return """
      location ~*(^(\/(Pricing|About|Legal|Features|Blog|Docs))) {
          proxy_set_header      X-Real-IP       $remote_addr;
          proxy_set_header      X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_next_upstream   error timeout   invalid_header http_500;

      # // kd/klient installers
      location ~^/d/(.*)$ {
        proxy_pass            "https://s3.amazonaws.com/koding-dl/$1";
        proxy_set_header      Host            $host;
        proxy_set_header      X-Host          $host; # for customisation
        proxy_set_header      X-Real-IP       $remote_addr;
        proxy_set_header      X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_connect_timeout 1;
