
CloudFront 修改部分
選擇對應 Distributions 修改 behavior
Allowed HTTP methods 選擇 GET, HEAD, OPTIONS

新增 Cache Policies

新增 Origin request

新增 Response headers

套用Cache key and origin requests

修改後Save 等待套用設置,再清除 Invalidations,可保險抓離峰時間半小時操作
參考:
https://aws.amazon.com/cn/blogs/china/several-solutions-to-cloudfront-cross-domain-problem-cors/
https://repost.aws/knowledge-center/s3-configure-cors










