Created
February 14, 2017 15:15
-
-
Save giridharprakash/eed30bf373b7a112e5a73ac2c6480bb9 to your computer and use it in GitHub Desktop.
deploy node web application to IIS. this is blog post
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="server/index.js" verb="*" modules="iisnode" /> | |
</handlers> | |
<rewrite> | |
<rules> | |
<rule name="sample"> | |
<match url="api/*" /> | |
<action type="Rewrite" url="server/index.js" /> | |
</rule> | |
</rules> | |
</rewrite> | |
<defaultDocument enabled="true"> | |
<files> | |
<add value="new/index.html" /> | |
</files> | |
</defaultDocument> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment