这没问题吗?
该网站有多个域, 但是只有一个需要SSL 就像http://www.exampl1.org
<rule name="http_to_https" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="^example1\.org$" />
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://www.example1.org" redirectType="Permanent" appendQueryString="false" />
</rule>