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
@@ -109,3 +110,20 @@ If you use CloudFront in upfront of your S3 bucket ensure following CloudFront s
109
110
-`Access-Control-Request-Method`
110
111
-`Origin`
111
112
- Query String Forwarding and Caching:`Forward all`
113
+
114
+
### IBM Cloud ObjectStorage Setup
115
+
IBM Cloud Object storage only supports virtual host-style addressing, i.e. `https://<bucket-name>s3-web.<region>.cloud-object-storage.appdomain.cloud/`forstatic website hosting. Otherwise follow the instructions
116
+
inthis [tutorial](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-static-website-tutorial) to configure your bucket. In addition, you may need to [configure CORS](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-curl#curl-new-cors) for your bucket.
117
+
118
+
```
119
+
<CORSConfiguration>
120
+
<CORSRule>
121
+
<AllowedOrigin>*</AllowedOrigin>
122
+
<AllowedMethod>GET</AllowedMethod>
123
+
<AllowedHeader>*</AllowedHeader>
124
+
</CORSRule>
125
+
</CORSConfiguration>
126
+
```
127
+
128
+
A example deployment is available [here](https://s3-bucket-browser-demo.s3-web.us-south.cloud-object-storage.appdomain.cloud/).
0 commit comments