Skip to content

Instantly share code, notes, and snippets.

@muhaimincs
Last active October 29, 2023 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muhaimincs/eabb5fa22462f9b6e80e20435a3ee3c3 to your computer and use it in GitHub Desktop.
Save muhaimincs/eabb5fa22462f9b6e80e20435a3ee3c3 to your computer and use it in GitHub Desktop.
Config for URL Rewrite in IIS
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:3000/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment