本站已启用http强制跳转到 https.
跳转规则:
http 强制跳转到 https 方法:
修改:
/etc/apache2/sites-available/whycan.cn.conf
<VirtualHost *:80>
ServerName whycan.cn
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</VirtualHost>
离线