标签:style blog http io color ar os sp div
Install IIS
Install ARR 3.0 from WebPI
Open IIS management console (inetmgr), select the server node.
On the right panel, open "Appliation Request Routing Cache", then click "Server Proxy Settings", in the next page, check "Enable Proxy", choose "pass through", then "Apply".
Back to the default panel, find "Configuration Editor". Add a rule in system.webServer/rewrite/globalRules section follow the parameters in below configuration:
<rewrite> <globalRules> <rule name="Proxy" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{HTTP_HOST}" pattern="*" /> </conditions> <action type="Rewrite" url="http://{C:0}/{R:0}" /> </rule> </globalRules> </rewrite>
If you are using Azure VM, please go to the management portal open port 80 in the VM‘s Endpoint configuration panel.
And finally, this proxy only supports HTTP, but not HTTPS.
标签:style blog http io color ar os sp div
原文地址:http://www.cnblogs.com/polymorphism/p/4075255.html