0
すべてをリダイレクトしようとしていますhttp://thesite.com、http://www.thesite.com、https://thesite.comからhttps://www.thesite.comです。しかし、私は正しいパターンを持っていません。私は間違って何をしていますか?HTTPからHTTPSへのリダイレクトの書き換え規則
<rewrite>
<rules>
<rule name="Redirect to HTTPs" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="OFF" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>