📅  最后修改于: 2022-03-11 14:58:15.108000             🧑  作者: Mango
RewriteEngine On
RewriteCond %{HTTP_HOST} ^DOMAIN.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.DOMAIN.com/$1 [R=301,L]