IIS as Reverse Proxy
Revision as of 12:49, 8 November 2019 by Tom (Created page with "==Full Title== Using Windows Server as a Reverse Proxy for IIS 8 and above (Server 2012 and above). ==Context== * It is often necessary to us a Reverse Proxy to terminate HTTP...")
Using Windows Server as a Reverse Proxy for IIS 8 and above (Server 2012 and above).
- It is often necessary to us a Reverse Proxy to terminate HTTPS requests and then forward those requests to specific server instances for load balancing or similar services.
Goal: Redirect https: requests to a separate IIS instance (or site) which only supports http: scheme.
- Open Internet Information services (IIS) manager (for example from administrative tools)
- Click on the Server in the left pane (click a second time if you don't see sites)
- Click on sites
- Clink on (typically) Default Web Site (the rewrite rules created here will apply to all of the sub-sites, which is probably the place to be)
- Double click on "URL Rewrite" in the center pane. - the assumption here is that there are no existing rules, if there are it gets complicated.
- Click "Add Rule" in the right pane.