<rule name="Force HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
<add input="{REQUEST_URI}" pattern="(order.*)" ignoreCase="true" negate="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
</rule>
그래서 나는 그것을 해결했습니다. 시간 브라우저가 HTTPS 경로를 기억하기 때문에 브라우저 캐시를 지 웁니다. HTTP 만 제공하더라도 HTTPS를 검색하려고합니다. IE를 사용하여이를 테스트하는 것이 좋습니다.
이와 같은 규칙을 업데이트하십시오.
<rule name="NoSSL - folder" enabled="true" stopProcessing="true">
<match url="order.*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
</conditions>
<action type="None" />
</rule>
<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="Found" />
</rule>