0
다른 바인딩이있는 동일한 사이트에 https 리디렉션을 설정하려고합니다. 즉, 사이트 개발 = www.domain1.com 사이트 2 = www.domain2.com Site3 = www.domain3.com 내가 규칙을 리디렉션 다음하지만 그들은 단지 첫 번째 사이트 작동 및 기타이 개 사이트에 대한 작동하지 않습니다 사용하고동일한 사이트에 대해 여러 개의 https 리디렉션 설정
<rewrite>
<rules>
<rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">
<match url="http://domain1.com" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://domain1.com" redirectType="Permanent" />
</rule>
<rule name="HTTP Redirect to HTTPS 2" enabled="true" stopProcessing="true">
<match url="http://domain2.com" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://domain2.com" redirectType="Permanent" />
</rule>
내가 여기 실종 무엇을 안내하시기 바랍니다.
http://domain1.com은
https://domain1.com으로 리디렉션되지만 domain2는 작동하지 않습니다.