私は問題があります。で私は2IISつのポート80と443(https)。httpユーザーからのすべてのリクエストをにリダイレクトしたいhttps。も追加しましRewrite rule to httpsたが、ブラウザに入るhttp://localhost/siteと同じページが表示されます。ユーザーをにリダイレクトする必要がありますhttpS://localhost/site。
たぶんこれは私のローカル構成のせいですか?
そして、私はを無効Require SSLにしIISます。
The rule is:
<rewrite>
<rules>
<rule name="HTTPS Redirect">
<match url="(.*)" ignoreCase="false" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="false" />
</conditions>
<action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}{REQUEST_URI}" />
</rule>
</rules>
</rewrite>
ありがとうございました。