updated nginx tmpl