Fix deafult https setting