Last active
February 20, 2018 00:37
-
-
Save explorer14/80894512aa4b2ce7bb6e91830909e430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rewrite> | |
<globalRules> | |
<rule name="ReverseProxyRule1" | |
enabled="true" stopProcessing="true"> | |
<match url="^Contact" /> | |
<action type="Rewrite" url="http://localhost:8021/Home/Contact" /> | |
<conditions> | |
<add input="{SERVER_PORT}" pattern="88" /> | |
</conditions> | |
</rule> | |
</globalRules> | |
<outboundRules> | |
<preConditions> | |
<preCondition name="IsHTML"> | |
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> | |
</preCondition> | |
</preConditions> | |
</outboundRules> | |
</rewrite> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment