nginx does not allow server_name configuration directive to be set dynamically - modified template to set directly
Merge pull request #2 from logickal/template_fix

nginx not allowing server_name directive to be set dynamically (Thank you to Logickal)