-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
59 lines (58 loc) · 2.09 KB
/
web.config
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<configuration>
<system.webServer>
<handlers>
<!-- indicates that the app.js file is a node.js application to be handled by the iisnode module -->
<add name="iisnode" path="server.js" verb="*" modules="iisnode"/>
<add name="iisnode2" path="hello.js" verb="*" modules="iisnode" />
</handlers>
<rewrite>
<rules>
<!-- <rule name="LogFile" patternSyntax="ECMAScript">
<match url="iisnode"/>
</rule> -->
<!-- <rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^server.js\/debug[\/]?"/>
</rule> -->
<rule name="Socket.IO" patternSyntax="ECMAScript">
<match url="socket.io"/>
<action type="Rewrite" url="server.js" logRewrittenUrl="true"/>
</rule>
</rules>
</rewrite>
<iisnode
loggingEnabled="true"
/>
<!-- You can control how Node is hosted within IIS using the following options -->
<!--<iisnode
node_env="%node_env%"
nodeProcessCountPerApplication="1"
maxConcurrentRequestsPerProcess="1024"
maxNamedPipeConnectionRetry="3"
namedPipeConnectionRetryDelay="2000"
maxNamedPipeConnectionPoolSize="512"
maxNamedPipePooledConnectionAge="30000"
asyncCompletionThreadCount="0"
initialRequestBufferSize="4096"
maxRequestBufferSize="65536"
watchedFiles="*.js"
uncFileChangesPollingInterval="5000"
gracefulShutdownTimeout="60000"
loggingEnabled="true"
logDirectoryNameSuffix="logs"
debuggingEnabled="true"
debuggerPortRange="5058-6058"
debuggerPathSegment="debug"
maxLogFileSizeInKB="128"
appendToExistingLog="false"
logFileFlushInterval="5000"
devErrorsEnabled="true"
flushResponse="false"
enableXFF="false"
promoteServerVars=""
/>-->
<webSocket enabled="false" />
</system.webServer>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>