add cdn_url to conf.json5

This commit is contained in:
zkldi
2021-06-26 02:44:37 +01:00
parent aeb1c4e3e2
commit 9c51f3a45f
+15
View File
@@ -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)