1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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"
}
}
]
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa