lib: include custom config when redirecting to https in webSsl