Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <configuration>
- <system.webServer>
- <httpErrors existingResponse="PassThrough" />
- <iisnode nodeProcessCountPerApplication="0" maxConcurrentRequestsPerProcess="1024" maxNamedPipeConnectionRetry="100" namedPipeConnectionRetryDelay="250" maxNamedPipeConnectionPoolSize="512" maxNamedPipePooledConnectionAge="30000" asyncCompletionThreadCount="0" initialRequestBufferSize="4096" maxRequestBufferSize="65536" watchedFiles="*.js;iisnode.yml;web.config,.env" uncFileChangesPollingInterval="5000" gracefulShutdownTimeout="60000" loggingEnabled="false" logDirectory="iisnode" debuggingEnabled="false" debugHeaderEnabled="false" debuggerPortRange="5058-6058" debuggerPathSegment="debug" maxLogFileSizeInKB="128" maxTotalLogFileSizeInKB="1024" maxLogFiles="20" devErrorsEnabled="false" flushResponse="false" enableXFF="false" promoteServerVars="" configOverrides="iisnode.yml" />
- <!-- Indicates that the dist.js file is a node.js application to be handled by the iisnode module -->
- <handlers>
- <add name="iisnode" path="server/dist.js" verb="*" modules="iisnode" />
- </handlers>
- <rewrite>
- <rules>
- <rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true">
- <match url="iisnode"/>
- </rule>
- <rule name="App">
- <match url="/*" />
- <action type="Rewrite" url="server/dist.js" />
- </rule>
- </rules>
- </rewrite>
- <httpProtocol>
- <customHeaders>
- <remove name="X-Powered-By" />
- </customHeaders>
- </httpProtocol>
- </system.webServer>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement