From http://blog.donaldderek.com/2013/08/cf-i-configure-your-staging-machine-with-node-js-and-nginx/?utm_source=nodeweekly&utm_medium=email