Skip to content

Commit 7c01bc7

Browse files
committed
format readme.md
1 parent edbea7d commit 7c01bc7

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

cloud-static-content-hosting/README.md

+2-26
Original file line numberDiff line numberDiff line change
@@ -80,32 +80,8 @@ the content globally.
8080
9. Upload content to the bucket.
8181

8282
* First create the content, at least `index.html` and `error.html` documents.
83-
* index.html
84-
85-
```html
86-
<!doctype html>
87-
<head>
88-
<title>My Static Web Site</title>
89-
</head>
90-
<body>
91-
<h1>I'm the index.html</h1>
92-
</body>
93-
```
94-
95-
* error.html
96-
97-
```html
98-
<!doctype html>
99-
<head>
100-
<title>My Static Web Site</title>
101-
</head>
102-
<body>
103-
<h1>I'm the index.html</h1>
104-
</body>
105-
```
106-
107-
* Upload the content to your bucket as described [here](https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html#using-s3-commands-managing-objects-copy)
108-
* E.g. `aws s3 cp index.html s3://my-static-website-jh34jsjmg` and `aws s3 cp error.html s3://my-static-website-jh34jsjmg`
83+
* Upload the content to your bucket as described [here](https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html#using-s3-commands-managing-objects-copy)
84+
* E.g. `aws s3 cp index.html s3://my-static-website-jh34jsjmg` and `aws s3 cp error.html s3://my-static-website-jh34jsjmg`
10985

11086
10. Next we need to set the bucket policy to allow read access.
11187

0 commit comments

Comments
 (0)