rewriteengine on
rewritecond %{https} !=on
rewriterule ^(.*)https://%{server_name}/$1[r,l]
<rewrite>
<rules>
<rule name=\”http redirect to https\” stopprocessing=\”true\”>
<match url=\”(.*)\” />
<conditions>
<add input=\”{https}\” pattern=\”^off$\” />
<add input=\”{https_host}\” pattern=\”^(localhost)\” negate=\”true\” />
</conditions>
<action type=\”redirect\” url=\”https://{http_host}/{r:1}\” />
</rule>
</rules>
</rewrite>
騰訊云服務(wù)器備案詳細(xì)講解戰(zhàn)網(wǎng)怎么更改登錄密碼 戰(zhàn)網(wǎng)修改密碼方法怎樣注銷備案-備案平臺mhdd硬盤的檢測方法是什么 mhdd硬盤的檢驗教程dhcp snooping的作用是什么?加大推廣網(wǎng)站優(yōu)化力度能讓企業(yè)能夠從中獲益嗎?網(wǎng)站域名與云服務(wù)器中小型企業(yè)網(wǎng)絡(luò)構(gòu)建之路由的簡單配置