I have a reverse proxy rule that forwards all requests to a specific subdomain to an internal server and everything works great.
<rule name="cloud.domain.com" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="^(cloud.)domain.com$" />
</conditions>
<action type="Rewrite" url="http://127.0.0.1:8000/{R:0}" appendQueryString="true" />
</rule>
This works for both http and https requests to cloud.domain.com. However, I want all requests to http://cloud.domain.com to forward to https://cloud.domain.com which does the reverse proxy to the internal server. Any ideas?