Skip to content

Instantly share code, notes, and snippets.

@emkay
Created January 17, 2013 00:41
Show Gist options
  • Select an option

  • Save emkay/4552484 to your computer and use it in GitHub Desktop.

Select an option

Save emkay/4552484 to your computer and use it in GitHub Desktop.
DevOps Day Lightening talk proposal

Setting up an HTTP proxy with node and hutch

hutch is a small program that takes a config.json file and spins up a proxy server that takes care of all your sites. It uses seaport to manage your ports automatically, and http-proxy to proxy all your requests to various servers. Because seaport uses semvers, you can place different versions and roles of the same server in your config.json without having to worry about port numbers.

The real magic is seaport and http-proxy. hutch just allows you to use them together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment