Improved nginx template