Skip to content

Commit

Permalink
update CONFIG.md doc with more guidance on the signed URL threshold
Browse files Browse the repository at this point in the history
- backwards compatible alternate field name
- signed URLs are disabled for all but final overlay backend
  • Loading branch information
karlcz committed Oct 13, 2023
1 parent f1f8ef1 commit dc05a28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ The smallest object size in bytes that will be served with signed URL redirectio

When an integer size greater than `0` is configured, objects smaller than the threshold will be returned immediately by proxying content, while larger objects will be returned indirectly via redirection with signed URLs that allow the client to directly retrieve object content from the S3-compatible object store.

For backwards-compatibility, the alternate per-bucket field name `presigned_url_size_threshold` will be recognized as a fallback.

NOTE: When the `amazons3` backend is used in conjunction with the `overlay` backend, this signed-URL threshold only affect the amazons3 backend when it is the final backend on the entire overlay chain. Other non-final backends are forced to operate in synchronous proxy mode, so that the service can determine whether content has been located or search must continue with the next backend.

#### `s3_config`.`buckets`.`presigned_url_expiration_secs`

The integer number of seconds that a presigned URL will delegate access privileges to the client. Default `300` (5 minutes).
Expand Down

0 comments on commit dc05a28

Please sign in to comment.