Raspberry Pi and Node.js as Reverse Proxy

Both Raspberry Pi and Node.js continue to gain in popularity. With the Pi as an inexpensive piece of hardware and Node.js you can easily get a reverse proxy up and running with just a few lines of code. Theoretically you could use Node.js to act as a reverse proxy for all sorts of traffic, however, for the purposes of this article I have focused solely on web traffic.