Created
December 6, 2018 12:43
-
-
Save thanhdevapp/c8a3cbcaf8d8085e126c5ff88dbe9240 to your computer and use it in GitHub Desktop.
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.net> | |
<defaultProxy> | |
<proxy usesystemdefault="true" proxyaddress="http://45.117.171.21:6868" bypassonlocal="true" /> | |
</defaultProxy> | |
</system.net> | |
<system.webServer> | |
<rewrite> | |
<outboundRules> | |
<preConditions> | |
<preCondition name="ResponseIsHtml1"> | |
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> | |
</preCondition> | |
</preConditions> | |
</outboundRules> | |
<rules> | |
<rule name="ReverseProxyInboundRule1" stopProcessing="true"> | |
<match url="(.*)" /> | |
<action type="Rewrite" url="http://localhost:6868/{R:1}" /> | |
</rule> | |
</rules> | |
</rewrite> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment