From 3911afaf40dd52045ae7462fcca7763d94c6ebff Mon Sep 17 00:00:00 2001 From: Isaac-Carrascal Date: Sun, 3 Dec 2023 16:43:23 +0100 Subject: [PATCH] aws-s3-website: add page (#11642) * aws-s3-website: add page --------- Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/aws-s3-website.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/common/aws-s3-website.md diff --git a/pages/common/aws-s3-website.md b/pages/common/aws-s3-website.md new file mode 100644 index 0000000000..feba333c19 --- /dev/null +++ b/pages/common/aws-s3-website.md @@ -0,0 +1,13 @@ +# aws s3 website + +> Set the website configuration for a bucket. +> See also: `aws s3`. +> More information: . + +- Configure a bucket as a static website: + +`aws s3 website {{s3://bucket-name}} --index-document {{index.html}}` + +- Configure an error page for the website: + +`aws s3 website {{s3://bucket-name}} --index-document {{index.html}} --error-document {{error.html}}`