change config to use https