File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ To download the CloudFormation template to deploy on your own, for example by [u
100100
101101https://s3.amazonaws.com/solution-builders-us-east-1/amazon-cloudfront-secure-static-site/latest/main.yaml
102102
103- ## Update the website content locally before deploying the solution
103+ ## Customizing the Solution
104+ ### Update the website content locally
104105
105106** To customize the website with your own content before deploying the solution**
106107
@@ -137,6 +138,13 @@ https://s3.amazonaws.com/solution-builders-us-east-1/amazon-cloudfront-secure-st
137138 --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND \
138139 --parameter-overrides DomainName=< your domain name> SubDomain=< your website subdomain>
139140 ` ` `
141+ # ## Updating the site Content Security Policy
142+
143+ To change the Content Security Policy of the site:
144+
145+ 1. Make your changes to the header values by editing ` source/secured-headers/index.js` .
146+ 1. Deploy the solution by following the steps in [Update the website content locally](# update-the-website-content-locally)
147+
140148
141149# # Contributing
142150Contributions are welcome. Please read the [code of conduct](CODE_OF_CONDUCT.md) and the [contributing guidelines](CONTRIBUTING.md).
You can’t perform that action at this time.
0 commit comments