Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Web.config 2.7 KB

You have to be logged in to leave a comment. Sign In
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your Node.js application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=290972
  5. -->
  6. <configuration>
  7. <appSettings>
  8. <!--
  9. <add key="StorageAccountName" value="" />
  10. <add key="StorageAccountKey" value="" />
  11. <add key="ServiceBusNamespace" value="" />
  12. <add key="ServiceBusIssuerName" value="" />
  13. <add key="ServiceBusIssuerSecretKey" value="" />
  14. -->
  15. </appSettings>
  16. <system.webServer>
  17. <!-- mimeMap enables IIS to serve particular file types as specified by fileExtension. -->
  18. <staticContent>
  19. <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
  20. </staticContent>
  21. <modules runAllManagedModulesForAllRequests="false" />
  22. <!-- Web.Debug.config adds attributes to this to enable remote debugging when publishing in Debug configuration. -->
  23. <iisnode watchedFiles="web.config;*.js"/>
  24. <!-- Remote debugging (Azure Website with git deploy): Comment out iisnode above, and uncomment iisnode below. -->
  25. <!--<iisnode watchedFiles="web.config;*.js"
  26. loggingEnabled="true"
  27. devErrorsEnabled="true"
  28. nodeProcessCommandLine="node.exe &#45;&#45;debug"/>-->
  29. <!-- indicates that the app.js file is a Node.js application
  30. to be handled by the iisnode module -->
  31. <handlers>
  32. <add name="iisnode" path="app.js" verb="*" modules="iisnode" />
  33. <!-- Remote debugging (Azure Website with git deploy): Uncomment NtvsDebugProxy handler below.
  34. Additionally copy Microsoft.NodejsTools.WebRole to 'bin' from the Remote Debug Proxy folder.-->
  35. <!--<add name="NtvsDebugProxy" path="ntvs-debug-proxy/ffc2b237-305a-4620-a8c8-d4f4b71f80f0" verb="*" resourceType="Unspecified"
  36. type="Microsoft.NodejsTools.Debugger.WebSocketProxy, Microsoft.NodejsTools.WebRole"/>-->
  37. </handlers>
  38. <rewrite>
  39. <rules>
  40. <clear />
  41. <!-- Remote debugging (Azure Website with git deploy): Uncomment the NtvsDebugProxy rule below. -->
  42. <!--<rule name="NtvsDebugProxy" enabled="true" stopProcessing="true">
  43. <match url="^ntvs-debug-proxy/.*"/>
  44. </rule>-->
  45. <rule name="app" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
  46. <match url="iisnode.+" negate="true" />
  47. <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
  48. <action type="Rewrite" url="app.js" />
  49. </rule>
  50. </rules>
  51. </rewrite>
  52. </system.webServer>
  53. <!-- Remote debugging (Azure Website with git deploy): uncomment system.web below -->
  54. <!--<system.web>
  55. <httpRuntime targetFramework="4.5"/>
  56. <customErrors mode="Off"/>
  57. </system.web>-->
  58. </configuration>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...