Nginx proxy for Nodejs

This blog is running in a simple vps machine on OVH with other Nodejs applications, each one exposed on his own port. To manage all this applications the best solution I found for that it's Nginx. Its really simple to use, so let's go:

First install Nginx:

apt-get install nginx

Be sure that port 80 its free.

The apps are don't have to be running on the same server always so add it to host file: