fixing nginx template create