📌  相关文章
📜  http 到 https htaccess 站点:stackoverflow.com - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:48.505000             🧑  作者: Mango

代码示例1
RewriteEngine On
 RewriteCond %{HTTPS} !=on
 RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]