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?

demandé il y a 3 mois123 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Nishant
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions