ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
将http请求转化为https请求 ~~~ RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R] ~~~ 或者 ~~~ RewriteEngine on RewriteCond %{HTTPS} !=ON RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R] ~~~ 或者 ~~~ <If "%{SERVER_PROTOCOL} != 'HTTPS'"> Redirect "/admin/" "https://www.example.com/admin/" </If> ~~~