Update documentation around public_endpoint for subpaths

This commit is contained in:
asonix 2024-01-11 16:15:19 -06:00
parent 708c25f20a
commit 4591aa3e11

View file

@ -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/"