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?

asked 2 months ago110 views
1 Answer
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
SUPPORT ENGINEER
Nishant
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions