mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
Add public_endpoint to pict-rs.toml
This commit is contained in:
parent
9d81d7fa06
commit
e4e5aad215
1 changed files with 13 additions and 0 deletions
13
pict-rs.toml
13
pict-rs.toml
|
@ -662,3 +662,16 @@ signature_expiration = 15
|
||||||
# This value is the total wait time, and not additional wait time on top of the
|
# This value is the total wait time, and not additional wait time on top of the
|
||||||
# signature_expiration.
|
# signature_expiration.
|
||||||
client_timeout = 30
|
client_timeout = 30
|
||||||
|
|
||||||
|
## Optional: URL to a CDN at which pict-rs files are available for web consumption
|
||||||
|
# environment variable: PICTRS__STORE__PUBLIC_ENDPOINT
|
||||||
|
# default: empty
|
||||||
|
#
|
||||||
|
# When enabled, instaed of serving files itself, pict-rs will serve redirects to this URL with the
|
||||||
|
# path of the requested file. This can greatly reduce egress costs, and shorten the number of hops
|
||||||
|
# between the media and the client.
|
||||||
|
#
|
||||||
|
# Note that in order for clients to fetch media from this URL directly, any server between the
|
||||||
|
# client and pict-rs must not be configured to follow redirects, or else that server will fetch from
|
||||||
|
# this public URL and serve the file itself.
|
||||||
|
public_endpoint = "https://pict-rs.some.cdn.example.com"
|
||||||
|
|
Loading…
Reference in a new issue