Skip to content

Commit 07ff7c4

Browse files
author
Binon
committed
Revering web.config
1 parent 283d428 commit 07ff7c4

File tree

2 files changed

+35
-44
lines changed

2 files changed

+35
-44
lines changed

LearningHub.Nhs.WebUI/web.config

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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="bin\x64\Debug\net8.0\LearningHub.Nhs.WebUI.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess">
18-
<environmentVariables>
19-
<environmentVariable name="ASPNETCORE_HTTPS_PORT" value="443" />
20-
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
21-
</environmentVariables>
22-
</aspNetCore>
23-
</system.webServer>
24-
</location>
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.WebUI.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />
18+
</system.webServer>
19+
</location>
2520
</configuration>
26-
<!--ProjectGuid: 044CCD77-8B9E-4888-BC20-9FD6E2AFE904-->
21+
<!--ProjectGuid: 044CCD77-8B9E-4888-BC20-9FD6E2AFE904-->
Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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="bin\x64\Debug\net8.0\LearningHub.Nhs.Api.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess">
18-
<environmentVariables>
19-
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
20-
</environmentVariables>
21-
</aspNetCore>
22-
</system.webServer>
23-
</location>
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.Api.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />
18+
</system.webServer>
19+
</location>
2420
</configuration>
2521
<!--ProjectGuid: 21F15E96-314F-4F39-822F-C2568CDC4A5A-->

0 commit comments

Comments
 (0)