Created
April 24, 2012 08:19
-
-
Save garth/2477814 to your computer and use it in GitHub Desktop.
Configure IIS for iisnode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="iisnode" path="app.js" verb="*" modules="iisnode" /> | |
</handlers> | |
<!-- stop IIS from replacing non 200 response bodies --> | |
<httpErrors existingResponse="PassThrough" /> | |
<!-- send all incoming requests to nodejs --> | |
<rewrite> | |
<rules> | |
<rule name="appjs"> | |
<match url="/*" /> | |
<action type="Rewrite" url="app.js" /> | |
</rule> | |
</rules> | |
</rewrite> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment