mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 21:08:09 +03:00
add cdn_url to conf.json5
This commit is contained in:
@@ -113,6 +113,21 @@ We use an ARC session token in order to pull scores from `ARC`. The session toke
|
||||
and profile pictures. This is a folder somewhere on the
|
||||
system (presumably using nginx serve-static).
|
||||
|
||||
### CDN_URL
|
||||
|
||||
- Type: URL or null (Optional).
|
||||
|
||||
This parameter dictates where the CDN server is. Requests that hit the CDN
|
||||
will be redirected here. If null, or not present, `tachi-server` will use
|
||||
filesystem calls for the files (and return them) instead of redirects.
|
||||
|
||||
!!! note
|
||||
Nginx Serve-Static is relatively easy to set up, and provides
|
||||
massive performance increases for this kind of stufff.
|
||||
|
||||
I highly recommend against leaving this null, as you can cause
|
||||
large performance deficits.
|
||||
|
||||
### PORT
|
||||
|
||||
- Type: Port (1-65536)
|
||||
|
||||
Reference in New Issue
Block a user