62,243
社区成员




<rule name="Redirect to https" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
</rule>
所有的HTTP 指向了HTTPS现在要求其中一个例外(原因先不讲)
比如 https://www.abc.com/manager/index.aspx 保留为http://www.abc.com/manager/index.aspx