Adding S3_PERMISSION environment variable
This commit is contained in:
parent
5b0cd8b7f0
commit
fed880361e
|
@ -471,6 +471,10 @@ You must serve the files with CORS headers, otherwise some functions of Mastodon
|
|||
#### `S3_READ_TIMEOUT`
|
||||
#### `S3_FORCE_SINGLE_REQUEST`
|
||||
|
||||
#### `S3_PERMISSION`
|
||||
|
||||
Defines the S3 obect ACL when uploading new files. Default is `public-read`. Be careful, when using [S3 Block Public Access](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) and turning on the `BlockPublicAcls` option, uploading objects with ACL `public-read` will fail (403). In that case, set `S3_PERMISSION` to `private`.
|
||||
|
||||
### Swift {#swift}
|
||||
|
||||
#### `SWIFT_ENABLED`
|
||||
|
|
Loading…
Reference in New Issue