aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-12-19 23:13:09 +0800
committerGitHub <noreply@github.com>2025-12-19 23:13:09 +0800
commitbb725cc3802b42992666e18d0758459e4332cdd7 (patch)
tree56bf679ea5972a931209fa12e8e51990b806d045 /README.md
parent71549ca55d515c69efd87a2a58401c135db39e21 (diff)
Enhance README with CORS and AWS S3 instructions
Updated instructions for CORS settings and added AWS S3 bucket policy details.
Diffstat (limited to 'README.md')
-rw-r--r--README.md34
1 files changed, 33 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7c53c75..5a0ac7a 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,39 @@ region=auto
key=your_live_key
```
-In the dashboard of your object storage provider, add the domain name of your web HLS player to CORS setting. If you don't know how to setup a web HLS player, just add `https://mistivia.github.io`.
+In the dashboard of your object storage provider, enable public read, and add the domain name of your web HLS player to CORS setting. If you don't know how to setup a web HLS player, just add `https://mistivia.github.io`.
+
+For AWS S3, Edit bucket setting, set "Permissions" -> "Bucket Policy" to:
+
+ {
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Sid": "PublicReadOnly",
+ "Effect": "Allow",
+ "Principal": "*",
+ "Action": "s3:GetObject",
+ "Resource": "arn:aws:s3:::nebulive/*"
+ }
+ ]
+ }
+
+Then set "Permissions" -> "Cross-origin resource sharing (CORS)" to:
+
+ [
+ {
+ "AllowedHeaders": [
+ "*"
+ ],
+ "AllowedMethods": [
+ "GET"
+ ],
+ "AllowedOrigins": [
+ "https://your.hls.player.com"
+ ],
+ "ExposeHeaders": []
+ }
+ ]
Start EZLive: