1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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"
}
}
]
Contenus pertinents
- demandé il y a un an
- demandé il y a 4 mois
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans