nginx: fix variable type error