rebuild with https