HI.
I'm having a hard time configuring the balance in IIS via ARR with multiple ports. The difficulty is in working with different doors than the 80 and 443. On the same server I have applications on port 80, 443 and 8080. I managed to make it work on port 80 and 443. When I add port 8080 it is redirected to port 443.
The structure is as follows:
IP PUBLIC:80 > IIS ARR > Private IP1:80, PRIVATE IP2:80 IP PUBLIC:443 > IIS ARR > Private IP1:443, PRIVATE IP2:443 IP PUBLIC:8080 > IIS ARR > Private IP1:8080, PRIVATE IP2:8080
The rules I have for url rewrite are:
<rule name="ARR_serverfarm_loadbalance" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://serverfarm/{R:0}" />
</rule>
Other Rule:
<rule name="forward proxy" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" negate="true" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="*" />
</conditions>
<action type="Rewrite" url="http://{C:1}/{R:0}" />
</rule>
I appreciate the help.
</div> </div> </div>