Add mechanism to allow Nginx configuration via FreeMarker template file
Move template processing substitutions to TemplateProcessor
Changes from @aledsage review comments