1 Answer
- Newest
- Most votes
- Most comments
0
You can use Lambda@Edge to change the host header on the forward request to the origin.
Please see the following example code. Example: Using an Origin-Request Trigger to Change From an Amazon S3 Origin to a Custom Origin https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html#lambda-examples-content-based-custom-origin-request-trigger
answered 4 years ago
Relevant content
- asked 10 months ago
- Accepted Answerasked 2 months ago
- asked 9 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago