我有此规则可将流量重定向到/public
,但出现“重定向循环”错误。有什么建议么?
<rule name="Redirect to /public" stopProcessing="true">
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^test.example\.com$" ignoreCase="false" />
</conditions>
<action type="Redirect" url="http://test.example.com/{R:1}" />
<match url="(.*)" ignoreCase="false" />
</rule>