forked from nkashyap/console.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.config
More file actions
28 lines (27 loc) · 1.12 KB
/
web.config
File metadata and controls
28 lines (27 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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>