Permalink
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 1.11 KB
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="console.io" path="server.js" verb="*" modules="iisnode" />
</handlers>
<iisnode node_env="development" nodeProcessCountPerApplication="1" debugHeaderEnabled="true" />
<rewrite>
<rules>
<rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true">
<match url="iisnode" />
</rule>
<rule name="Example" patternSyntax="ECMAScript" stopProcessing="true">
<match url="example" />
</rule>
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^server.js\/debug[\/]?" />
</rule>
<rule name="all" patternSyntax="ECMAScript">
<match url=".*" />
<action type="Rewrite" url="server.js/$1" />
</rule>
</rules>
</rewrite>
<webSocket enabled="false" />
</system.webServer>
</configuration>