Redirection to error page in Amazon S3 static website

后端 未结 1 1662
长发绾君心
长发绾君心 2021-01-23 19:43

i have a bucket and enabled static web site hosting in it.

Say i have only two files in the bucket (index.html) and (error.html)

If a request is hit with test.ht

1条回答
  •  死守一世寂寞
    2021-01-23 20:07

    In the S3 Management Console, open the properties of your bucket and enable the "Static Website Hosting". It will ask you for an index page and an error page and provide you an endpoint for your static website.

    See: http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html

    0 讨论(0)
提交回复
热议问题