Skip to content

Commit 3376454

Browse files
committed
Merge remote-tracking branch 'origin/update-response-headers'
2 parents 10242ea + 2f976a0 commit 3376454

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web.config

+7-1
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,15 @@
256256
</rule>
257257
</rules>
258258
</rewrite>
259-
<httpProtocol>
259+
<httpProtocol>
260260
<customHeaders>
261261
<add name="Cache-Control" value="no-cache" />
262+
<add name="Content-Security-Policy" value="frame-ancestors 'self'; upgrade-insecure-requests" />
263+
<add name="Referrer-Policy" value="strict-origin-when-cross-origin" />
264+
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />
265+
<add name="X-Content-Type-Options" value="nosniff" />
266+
<add name="X-Frame-Options" value="SAMEORIGIN" />
267+
<add name="X-XSS-Protection" value="1; mode=block" />
262268
</customHeaders>
263269
</httpProtocol>
264270
<staticContent>

0 commit comments

Comments
 (0)