I have made a templater for Nginx configurations within Nodejs which uses EJS to template the configurations. Here is a simplified version of the code I\'m using to generate the