File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
AbpCompanyName.AbpProjectName.Web.Host
AbpCompanyName.AbpProjectName.Web.Mvc Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<configuration >
3
-
4
- <!--
5
- Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
6
- -->
7
-
8
3
<system .webServer>
9
4
<handlers >
10
5
<add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModule" resourceType =" Unspecified" />
11
6
</handlers >
12
7
<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 >
13
13
</system .webServer>
14
14
</configuration >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<configuration >
3
-
4
- <!--
5
- Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
6
- -->
7
-
8
3
<system .webServer>
9
4
<handlers >
10
5
<add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModule" resourceType =" Unspecified" />
16
11
<mimeMap fileExtension =" .woff" mimeType =" application/font-woff" />
17
12
<mimeMap fileExtension =" .woff2" mimeType =" application/font-woff2" />
18
13
</staticContent >
14
+ <httpProtocol >
15
+ <customHeaders >
16
+ <remove name =" X-Powered-By" />
17
+ </customHeaders >
18
+ </httpProtocol >
19
19
</system .webServer>
20
20
</configuration >
You can’t perform that action at this time.
0 commit comments