Skip to content

Commit 041b19c

Browse files
TD-5538: IUncluded web.config in the solution
1 parent 8766c8e commit 041b19c

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<location path="." inheritInChildApplications="false">
4+
<system.webServer>
5+
<httpProtocol>
6+
<customHeaders>
7+
<remove name="X-Powered-By" />
8+
<remove name="Server" />
9+
</customHeaders>
10+
</httpProtocol>
11+
<security>
12+
<requestFiltering removeServerHeader="true" />
13+
</security>
14+
<handlers>
15+
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
16+
</handlers>
17+
<aspNetCore processPath="dotnet" arguments=".\LearningHub.Nhs.Auth.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
18+
</system.webServer>
19+
</location>
20+
</configuration>
21+
<!--ProjectGuid: 7B47C2F7-5559-46EB-BEB3-A65378C09119-->

LearningHub.Nhs.UserApi/web.config

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<location path="." inheritInChildApplications="false">
4+
<system.webServer>
5+
<httpProtocol>
6+
<customHeaders>
7+
<remove name="X-Powered-By" />
8+
<remove name="Server" />
9+
</customHeaders>
10+
</httpProtocol>
11+
<security>
12+
<requestFiltering removeServerHeader="true" />
13+
</security>
14+
<handlers>
15+
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
16+
</handlers>
17+
<aspNetCore processPath="dotnet" arguments=".\LearningHub.Nhs.UserApi.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />
18+
</system.webServer>
19+
</location>
20+
</configuration>
21+
<!--ProjectGuid: FEED1D29-D25D-414D-81EE-E495E8B6A8BF-->

0 commit comments

Comments
 (0)