-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb.config
30 lines (23 loc) · 840 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
<configuration>
<system.webServer>
<iisnode loggingEnabled="true" logDirectoryNameSuffix="logs" />
<!-- indicates that the server.js file is a node.js application to be handled by the iisnode module -->
<handlers>
<add name="iisnode" path="server.js" verb="*" modules="iisnode"/>
</handlers>
<!-- use URL rewriting to redirect the entire branch of the URL namespace
to hello.js node.js application; for example, the following URLs will
all be handled by hello.js:
http://localhost/ekmHoliCal/foo
http://localhost/ekmHoliCal/bar
-->
<rewrite>
<rules>
<rule name="ekmHoliCal">
<match url="/*" />
<action type="Rewrite" url="server.js" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>