add https option to config