mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
As explained in https://learn.microsoft.com/en-us/previous-versions/aspnet/ms178692(v=vs.100), it is possible to add `system.webServer` elements nested inside `location` elements in `Web.config`.
13 lines
343 B
XML
13 lines
343 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<configuration>
|
|
<location path="." inheritInChildApplications="false">
|
|
<system.webServer>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<add name="X-Frame-Options" value="SAMEORIGIN" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
</system.webServer>
|
|
</location>
|
|
</configuration>
|