switch CG template to use https by default