1 Answer
- Newest
- Most votes
- Most comments
2
If your index.html file is located in some folder, you can set it in the browser when you access your website
Or you can try a redirection rule in the S3 web hosting configuration
https://docs.aws.amazon.com/AmazonS3/latest/userguide/how-to-page-redirect.html#redirect-rule-examples
for example:
[
{
"Condition": {
"KeyPrefixEquals": "index.html"
},
"Redirect": {
"HttpRedirectCode": "302",
"ReplaceKeyPrefixWith": "dist/browser/index.html"
}
}
]
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago