forked from auth0/ad-ldap-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.config
29 lines (27 loc) · 1.07 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
<configuration>
<system.webServer>
<handlers>
<add modules="iisnode" name="iisnode" path="server.js" verb="*"/>
</handlers>
<rewrite>
<rules>
<rule name="inspector" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^server.js" />
</rule>
<rule name="StaticContent">
<action type="Rewrite" url="public{REQUEST_URI}"/>
</rule>
<rule name="DynamicContent">
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/>
</conditions>
<action type="Rewrite" url="server.js"/>
</rule>
</rules>
</rewrite>
<iisnode
loggingEnabled="true"
promoteServerVars="AUTH_USER,AUTH_TYPE,LOGON_USER,HTTPS"
watchedFiles="*.js;iisnode.yml;node_modules\*;views\*.jade;views\*.ejs;views\*.ejb;routes\*.js"/>
</system.webServer>
</configuration>