FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
project-nodejs-express-webapp/Web.config at master · microsoft/project-nodejs-express-webapp · GitHub
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
microsoft
/
project-nodejs-express-webapp
Public archive
Notifications
You must be signed in to change notification settings
Fork
97
Star
40
Code
Issues
0
Pull requests
6
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
project-nodejs-express-webapp
/
Web.config
Copy path
More file actions
More file actions
Latest commit
History
History
History
79 lines (69 loc) · 3.1 KB
Breadcrumbs
project-nodejs-express-webapp
/
Web.config
Copy path
File metadata and controls
79 lines (69 loc) · 3.1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<
?xm
l versio
n
=
"1.
0
" encodin
g
=
"utf-
8
"?>
<!--
For more information on how to configure your Node.js application, please visit
http://go.microsoft.com/fwlink/?LinkId=290972
-->
<
configuration
>
<
appSettings
>
<!--
<add key="StorageAccountName" value="" />
<add key="StorageAccountKey" value="" />
<add key="ServiceBusNamespace" value="" />
<add key="ServiceBusIssuerName" value="" />
<add key="ServiceBusIssuerSecretKey" value="" />
-->
</
appSettings
>
<
system
.webServer>
<!--
mimeMap enables IIS to serve particular file types as specified by fileExtension.
-->
<
staticContent
>
<
mimeMap
fileExtension
=
"
.svg
"
mimeType
=
"
image/svg+xml
"
/>
</
staticContent
>
<
modules
runAllManagedModulesForAllRequests
=
"
false
"
/>
<!--
Web.Debug.config adds attributes to this to enable remote debugging when publishing in Debug configuration.
-->
<
iisnode
watchedFiles
=
"
web.config;*.js;routes\*.js;views\*.pug
"
/>
<!--
Remote debugging (Azure Website with git deploy): Comment out iisnode above, and uncomment iisnode below.
-->
<!--
<iisnode watchedFiles="web.config;*.js;routes\*.js;views\*.pug"
loggingEnabled="true"
devErrorsEnabled="true"
nodeProcessCommandLine="node.exe --debug"/>
-->
<!--
indicates that the server.js file is a Node.js application
to be handled by the iisnode module
-->
<
handlers
>
<
add
name
=
"
iisnode
"
path
=
"
app.js
"
verb
=
"
*
"
modules
=
"
iisnode
"
/>
<!--
Remote debugging (Azure Website with git deploy): Uncomment NtvsDebugProxy handler below.
Additionally copy Microsoft.NodejsTools.WebRole to 'bin' from the Remote Debug Proxy folder.
-->
<!--
<add name="NtvsDebugProxy" path="ntvs-debug-proxy/59ea9a82-a297-477d-86ba-dfc8c5f4801e" verb="*" resourceType="Unspecified"
type="Microsoft.NodejsTools.Debugger.WebSocketProxy, Microsoft.NodejsTools.WebRole"/>
-->
</
handlers
>
<
security
>
<
requestFiltering
>
<
hiddenSegments
>
<
remove
segment
=
"
bin
"
/>
</
hiddenSegments
>
</
requestFiltering
>
</
security
>
<
rewrite
>
<
rules
>
<
clear
/>
<!--
Remote debugging (Azure Website with git deploy): Uncomment the NtvsDebugProxy rule below.
-->
<!--
<rule name="NtvsDebugProxy" enabled="true" stopProcessing="true">
<match url="^ntvs-debug-proxy/.*"/>
</rule>
-->
<!--
Don't interfere with requests for node-inspector debugging
-->
<
rule
name
=
"
NodeInspector
"
patternSyntax
=
"
ECMAScript
"
stopProcessing
=
"
true
"
>
<
match
url
=
"
^server.js\/debug[\/]?
"
/>
</
rule
>
<
rule
name
=
"
app
"
enabled
=
"
true
"
patternSyntax
=
"
ECMAScript
"
stopProcessing
=
"
true
"
>
<
match
url
=
"
iisnode.+
"
negate
=
"
true
"
/>
<
conditions
logicalGrouping
=
"
MatchAll
"
trackAllCaptures
=
"
false
"
/>
<
action
type
=
"
Rewrite
"
url
=
"
app.js
"
/>
</
rule
>
</
rules
>
</
rewrite
>
</
system
.webServer>
<!--
Remote debugging (Azure Website with git deploy): uncomment system.web below
-->
<!--
<system.web>
<httpRuntime targetFramework="4.5"/>
<customErrors mode="Off"/>
</system.web>
-->
</
configuration
>
Back
|
FazBrowse Home
|
New Git URL