aws-samples / amazon-cloudfront-secure-static-site

Create a secure static website with CloudFront for your registered domain.
Apache License 2.0
389 stars 140 forks source link

Update instructions for modifying security headers #74

Closed angelotrivelli closed 5 months ago

angelotrivelli commented 6 months ago

The code example no longer uses lambda@edge to configure security headers, so this pull request just updates the instructions on how to change the security headers.

Issue #, if available: 73

Description of changes:

1) Retitle "Updating the site Content Security Policy" to "Updating the site Response Headers" 2) Update instructions to modify templates/cloudfront-site.yaml instead of source/secured-headers/index.js which no longer exists.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.