<VirtualHost ip:80> ServerName blog.xihefeng.com Redirect permanent / https://blog.xihefeng.com/ </VirtualHost>
其中ip换为公网分配的ip。