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:
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:
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.