- <system.webServer><rewrite><rules>
- <rule name="http_toHttps" stopProcessing="true">
- <match url="(.*)"/>
- <conditions>
- <add ignoreCase="true" input="{HTTPS}" pattern="off"/>
- </conditions>
- <action redirectType="Permanent" type="Redirect" url="https://{HTTP_HOST}/{R:1}"/>
- </rule>
- </system.webServer></rewrite></rules>
-
复制代码
我是按照教程来的,怎么不行哦,求高手指导
|
|