nginx访问http自动跳转到https
if ($server_port != '443' ) {
rewrite ^/(.*)$ https://cms-news.artron.net/$1 permanent;
}
if ($server_port != '443' ) {
rewrite ^/(.*)$ https://cms-news.artron.net/$1 permanent;
}