Skip to the content.

Using IIS as a Reverse Proxy for a Node.js Application

Note that these instructions don’t go into Outbound Rules which may be necessary if changes to internal paths are required.

Prerequisites

IIS Setup

Install the following two modules.

Select or create the “site” to use for the reverse proxy.

Open the URL Rewrite Module. Select Add Rule.

Add Rule Window

Select “Reverse Proxy”.

Add Reverse Proxy Rules Window

Under the “Inbound Rules”, enter the internal Node.js server address and port.

If the reverse proxy is on a subfolder, you may need to edit the rule to add the same subfolder to the Rewrite URL.

IIS Gotchas

Node.js Gotchas

References

Outbound Rules