im tring to redirect from http to https using the web.config. I tried that: (work but do Too many redirects)
<rule name="HTTP to Prod HTTPS redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/l/{R:1}" redirectType="Permanent" />
</rule>
when i tried to replace the (.*) to http://*.*, it's doesn't work.
how can i solve that?