Update nginx template to have optional ssl.