1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Since you are hosting site on EC2, You can set any headers you want.
But if you are asking, can you setup custom headers on CloudFront response? the answer is yes you can setup a static header "Content-Security-Policy". But if you want to change the headers dynamically you would need to use your web server or application on EC2 to generate that.
回答済み 1年前
Are you hosting the website in S3?