1.fix record issue with https 2.rewrite rule scheme