AWS CloudFront not returning headers provided in Response Header Policy

0

I have created a CloudFront Distribution, and I had added custom Origin request and cache policy, which are working fine.

Now, recently (15 Feb, 2024) I had added "Response Header Policy" in which I've added a custom header and CORS headers, But when I perform the request to the CloudFront, the Headers mentioned in the policy are not returned. I

Note: When I was experimenting it in November, 2023. It was working. and then, I planned to apply it later.

Did anything change recently? Do I need to add something more?

已提問 3 個月前檢視次數 123 次
1 個回答
1

No changes have been made recently for CloudFront response headers policies.

Reference documentation for Creating response headers policies - https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/creating-response-headers-policies.html

Understanding response headers policies - https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html

We would recommend you raise a case with AWS support to investigate further. Please provide them the x-amz-cf-id response headers (CF Request IDs) for your test results.

Creating support cases and case management - https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

AWS
支援工程師
Nishant
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南