updated nginx.tmpl