Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

IIS 7.5 URL Rewrite, Subdomain to Local Https with Port

$
0
0

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:


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>