explict cases for proto in writting nginx templates