nginx template encoding