Hey guys, I have a little problem. I need to redirect a https sub domain to the local site on a different port , but when I do that with the URL Rewrite , I get the error 502:
<rule name="MyRule" stopProcessing="true"><match url="(.*)" /><action type="Rewrite" url="https://localhost:8160/{R:1}" logRewrittenUrl="true"/><conditions><add input="{HTTP_HOST}" pattern="^mydomain\.site\.com$" /><add input="{HTTPS}" pattern="^ON$" /></conditions></rule>I get that:
