0

I have created a CloudFront distribution just for testing purposes.

Why is CloudFront-Viewer-Country passed to the origin but CloudFront-Viewer-City is not?

Settings

I believe these are the two relevant settings:

enter image description here

Alex R
  • 972
  • 3
  • 12
  • 26

1 Answers1

1

To show CloudFront-Viewer-* other than CloudFront-Viewer-Country, please create a custom Origin Request Policy. In the policy, you must select "All viewer headers and whitelisted CloudFront-* headers" and specify what headers in CloudFront-Viewer-* to pass to origin.

Lichi
  • 126
  • 2