1.安装URL REWRITE2 "伪静态模块"
2.
<rule name="https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="off" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Temporary" /> </rule>
时间: 2024-10-09 11:12:38