-
Notifications
You must be signed in to change notification settings - Fork 75
/
web.config
33 lines (24 loc) · 636 Bytes
/
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
<configuration>
<appSettings>
<add key="NODE_ENV" value="production" />
</appSettings>
<system.web>
<identity impersonate="true" />
<authentication mode="Windows" />
</system.web>
<system.webServer>
<iisnode promoteServerVars="AUTH_USER,AUTH_TYPE" />
<handlers>
<add name="iisnode" path="server.js" verb="*" modules="iisnode" />
</handlers>
<rewrite>
<rules>
<rule name="sendToNode">
<match url="/*" />
<action type="Rewrite" url="server.js" />
</rule>
</rules>
</rewrite>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
</configuration>