Skip to content

Commit ad892e7

Browse files
Reverted the config changes
1 parent 75e3e7a commit ad892e7

File tree

1 file changed

+18
-26
lines changed

1 file changed

+18
-26
lines changed

LearningHub.Nhs.WebUI/web.config

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<location path="." inheritInChildApplications="false">
4-
<system.webServer>
5-
<modules runAllManagedModulesForAllRequests="false">
6-
<remove name="WebDAVModule" />
7-
</modules>
8-
<httpProtocol>
9-
<customHeaders>
10-
<remove name="X-Powered-By" />
11-
<remove name="Server" />
12-
</customHeaders>
13-
</httpProtocol>
14-
<security>
15-
<requestFiltering removeServerHeader="true" />
16-
</security>
17-
<handlers>
18-
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
19-
</handlers>
20-
<aspNetCore processPath="bin\x64\Debug\net8.0\LearningHub.Nhs.WebUI.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess">
21-
<environmentVariables>
22-
<environmentVariable name="ASPNETCORE_HTTPS_PORT" value="443" />
23-
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
24-
</environmentVariables>
25-
</aspNetCore>
26-
</system.webServer>
27-
</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>
2820
</configuration>
29-
<!--ProjectGuid: 044CCD77-8B9E-4888-BC20-9FD6E2AFE904-->
21+
<!--ProjectGuid: 044CCD77-8B9E-4888-BC20-9FD6E2AFE904-->

0 commit comments

Comments
 (0)