為什麼 CloudFront ApiGateway CloudFront-Viewer-Country 將美國報告為英國 eu-west-1 分發和查看者的國家/地區?

為什麼 CloudFront ApiGateway CloudFront-Viewer-Country 將美國報告為英國 eu-west-1 分發和查看者的國家/地區?

我有一個使用 CDK ( ) 建立的 AWS CloudFront 發行版,CloudFrontWebDistribution面向 ApiGateway,部署在eu-west-1(都柏林)。我可以在 API 日誌中看到CloudFront-Viewer-Country標頭設定為US,即使我從英國存取 API 也是如此。

請問這是為什麼?

相關內容