Skip to content

Commit

Permalink
Configure Standard .NET headers. Fixes #1237
Browse files Browse the repository at this point in the history
  • Loading branch information
alrod committed Feb 20, 2019
1 parent 196ae55 commit 88615cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/WebJobs.Script.WebHost/web.config
Expand Up @@ -9,8 +9,13 @@
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" />
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
<security>
<requestFiltering allowDoubleEscaping="true">
<requestFiltering allowDoubleEscaping="true" removeServerHeader="true">
<requestLimits maxQueryString="4096" maxUrl="8192" maxAllowedContentLength="104857600"/>
</requestFiltering>
</security>
Expand Down

0 comments on commit 88615cd

Please sign in to comment.