How to Install Node.js and Nginx on Debian

How to install Nginx for static content and Node.js for dynamic requests.

A Node.js Installation Crash Course

Node.js is a cross-platform runtime environment for server-side JavaScript applications. There are multiple ways to install and maintain Node.js and the decision of which installation method to use can quickly become a confusing one, so here are the main choices.