added custom nginx template with CORS directive