Added the ability to configure the nginx server context with templates