A node.js script that auto-configures nginx based on directory structure and ejs templates