1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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"
}
}
]
관련 콘텐츠
- AWS 공식업데이트됨 2년 전