1 Answer
- Newest
- Most votes
- Most comments
0
Based on your code sample, it looks like you're just trying to update the host header - your origin remains unchanged - is this correct?
Normally in this scenario, customers want to send traffic to a different origin, as well as updating the host header.
I suspect the problem might be down the way you are trying to update the header - there is an example here which shows how you can update the origin as well as the host header. I'd recommend using the syntax from there.
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Awesome. Thank you for this hint! The solution was to also edit the origin object.