You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cloud-static-content-hosting/README.md
+2-26
Original file line number
Diff line number
Diff line change
@@ -80,32 +80,8 @@ the content globally.
80
80
9. Upload content to the bucket.
81
81
82
82
* 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`
109
85
110
86
10. Next we need to set the bucket policy to allow read access.
0 commit comments