2012-10-25 17:22:28 +00:00
|
|
|
<configuration>
|
|
|
|
<system.webServer>
|
|
|
|
|
|
|
|
<handlers>
|
2021-02-16 06:38:04 +00:00
|
|
|
<add name="iisnode" path="src/node/server.js" verb="*" modules="iisnode" />
|
2012-10-25 17:22:28 +00:00
|
|
|
</handlers>
|
|
|
|
|
|
|
|
<rewrite>
|
|
|
|
<rules>
|
|
|
|
<!-- uncomment this section to enable debugging
|
|
|
|
<rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true">
|
|
|
|
<match url="iisnode"/>
|
2021-02-16 06:38:04 +00:00
|
|
|
<action type="Rewrite" url="src/node/iisnode" />
|
2012-10-25 17:22:28 +00:00
|
|
|
</rule>
|
|
|
|
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
|
|
|
|
<match url="^server.js\/debug[\/]?" />
|
|
|
|
</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>
|
2021-02-16 06:38:04 +00:00
|
|
|
<action type="Rewrite" url="src/node/server.js" />
|
2012-10-25 17:22:28 +00:00
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</rewrite>
|
|
|
|
|
|
|
|
</system.webServer>
|
|
|
|
</configuration>
|