mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
Update documentation around public_endpoint for subpaths
This commit is contained in:
parent
708c25f20a
commit
4591aa3e11
1 changed files with 6 additions and 1 deletions
|
@ -674,4 +674,9 @@ client_timeout = 30
|
|||
# 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"
|
||||
#
|
||||
# Note also that if a a path is to be included in the URL, it must have a trailing slash or else it
|
||||
# will be overwritten by the filepath.
|
||||
# e.g. https://example.com/sub/path will turn into https://example.com/sub/001/001/UUID
|
||||
# while https://example.com/sub/path/ will turn into https://example.com/sub/path/001/001/UUID
|
||||
public_endpoint = "https://pict-rs.some.cdn.example.com/subpath/"
|
||||
|
|
Loading…
Reference in a new issue