fixed https config