nginx: fix bug in upstream tmpl