fixed nginx cmd bug