Rearchitect nginx config

Takes inspiration from HTML5 Boilerplate's nginx config.

See GH-14.