Skip to content

Commit

Permalink
鉁忥笍 Fix CORSRules content typo for S3 config
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Nov 1, 2023
1 parent b80bea1 commit 585e1d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/docs/docs/self-hosting/guides/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ To function properly, your S3 bucket must have the following configuration:
{
"CORSRules": [
{
"AllowedOrigins": ["*"],
"AllowedMethods": ["GET"],
"AllowedHeaders": ["*"],
"MaxAgeSeconds": 3000
"AllowedMethods": ["PUT", "POST"],
"AllowedOrigins": ["*"],
"ExposeHeaders": ["ETag"]
}
]
}
```

- Access policy:
- Access policy (replace `<bucket-name>` with the name of your S3 bucket):
```json
{
"Version": "2012-10-17",
Expand Down Expand Up @@ -60,10 +60,10 @@ Some S3 providers like AWS provide a user interface that allows you to directly
{
"CORSRules": [
{
"AllowedOrigins": ["*"],
"AllowedMethods": ["GET"],
"AllowedHeaders": ["*"],
"MaxAgeSeconds": 3000
"AllowedMethods": ["PUT", "POST"],
"AllowedOrigins": ["*"],
"ExposeHeaders": ["ETag"]
}
]
}
Expand Down

0 comments on commit 585e1d4

Please sign in to comment.