replace http by https in config settings