How to Setup Reverse Proxy With Iis

How to Setup Reverse proxy with IIS

I testing it on Server 2016 with IIS 10

Install IIS,URL _REWRITE, ARR

Setting Reverse Proxy

  • Select Root level in IIS management

  • Click ‘Application Request Routing Cache’,then in the right side, click “proxy | Server proxy Settings | Check on “Enable proxy” | save config.

  • Select website in IIS.

  • Click URL Rewrite

  • Add a black Rule

    * Match URL:
    
Requested URLUsingPattern
Matches the patternRegular Expressions^(.*)
	* Conditions:
TypeValue
Logical groupingMatch ALL
input{HTTP_HOST}
TypeMatches the Pattern
Patern^xa-sys-svr:8080$
	* Server Variables:
TypeValue
Action TypeRewrite
Rewrite URLhttp://www.cnblog.com/{R:1}

Reference

Built with Hugo
Theme Stack designed by Jimmy