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 2 years ago
- asked 6 months ago
- asked 5 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 5 months ago