Skip to content

Commit 19e9ac2

Browse files
committed
2 parents a23ac8a + 4b11bea commit 19e9ac2

File tree

2 files changed

+10
-10
lines changed
  • aspnet-core/src

2 files changed

+10
-10
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
4-
<!--
5-
Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
6-
-->
7-
83
<system.webServer>
94
<handlers>
105
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
116
</handlers>
127
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
8+
<httpProtocol>
9+
<customHeaders>
10+
<remove name="X-Powered-By" />
11+
</customHeaders>
12+
</httpProtocol>
1313
</system.webServer>
1414
</configuration>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
4-
<!--
5-
Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
6-
-->
7-
83
<system.webServer>
94
<handlers>
105
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
@@ -16,5 +11,10 @@
1611
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
1712
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
1813
</staticContent>
14+
<httpProtocol>
15+
<customHeaders>
16+
<remove name="X-Powered-By" />
17+
</customHeaders>
18+
</httpProtocol>
1919
</system.webServer>
2020
</configuration>

0 commit comments

Comments
 (0)