首页 > 代码库 > Using ARR to setup a proxy
Using ARR to setup a proxy
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.
Using ARR to setup a proxy
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。