.htaccess http→https

.htaccess http→https

熟话说好记性不如烂笔头,像这种代码,要记住还是很难的,程序员除外。

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://blog.com.cm/$1 [R=301,L]

×0