avoid duplicate variable names in nginx