Archive for November 30th, 2011

30Nov

I’m an idiot. Ignore “Switchboard”

Posted by Elf Sternberg as Uncategorized

The other day, I posted a chunk of code called Switchboard, which was all about using Nodejitsu’s node-http-proxy. I turns out there’s a much easier way. HttpProxy.createServer will create an empty routing proxy, and when you ask for a backend handler that isn’t present, node-http-proxy will automagically build one using internal defaults. So, really, your [...]