nginx: fix try_files upstream ref bug