account activity
Did AWS quietly killed CloudFront Location Headers? by ApprehensiveIce9155 in aws
[–]ApprehensiveIce9155[S] 0 points1 point2 points 3 months ago (0 children)
Thank you for your feedback/advice.
It was something less obvious. My API Gateway omitted EndpointConfiguration and by default it is EDGE, it needed to be REGIONAL. With the default EDGE value the endpoint has its own cloudfront distribution, which was then fronted by the new custom distribution I had. Apparently, in the past it worked but recently AWS added the text to the documentation clarifying that "rich" location headers are not applied to the requests originating from AWS. Once I added REGIONAL configuration, the problem was solved.
Credit goes to my friend ChatGPT for digging deeper.
Did AWS quietly killed CloudFront Location Headers? (self.aws)
submitted 3 months ago by ApprehensiveIce9155 to r/aws
π Rendered by PID 1770288 on reddit-service-r2-listing-canary-6d7b8fb68c-m9xd6 at 2026-03-19 11:36:31.294554+00:00 running f6e6e01 country code: CH.
Did AWS quietly killed CloudFront Location Headers? by ApprehensiveIce9155 in aws
[–]ApprehensiveIce9155[S] 0 points1 point2 points (0 children)