Web.config 465 B

1234567891011121314151617
  1. <configuration>
  2. <system.webServer>
  3. <handlers>
  4. <remove name="iisnode" />
  5. <add name="iisnode" path="index.js" verb="*" modules="iisnode" />
  6. </handlers>
  7. <rewrite>
  8. <rules>
  9. <rule name="Node.js Express" stopProcessing="true">
  10. <match url="iisnode" />
  11. <action type="Rewrite" url="app.js" />
  12. </rule>
  13. </rules>
  14. </rewrite>
  15. <iisnode node_env="production" />
  16. </system.webServer>
  17. </configuration>