1 Answer
- Newest
- Most votes
- Most comments
0
I was able to solve it by having the following redirection on my S3 static website. Not the best solution because this causes 2 redirections, but it works.
[
{
"Condition": {
"KeyPrefixEquals": "production/production/"
},
"Redirect": {
"HostName": "mydomain.com",
"HttpRedirectCode": "302",
"Protocol": "https",
"ReplaceKeyPrefixWith": ""
}
}
]
answered 2 years ago
Relevant content
- Accepted Answerasked 7 months ago
- asked 9 months ago
- asked 3 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago