bug in nginx template