new version
This commit is contained in:
@@ -65,6 +65,7 @@ STORAGE_DIR=/opt/filehost/storage
|
||||
MAX_FILE_SIZE=10GB # must be <= proxy upload limit
|
||||
FILE_TTL_MS=172800000 # expire files after 48 hours (hard maximum)
|
||||
MAX_STORAGE_USAGE=0.5 # block uploads when >50% of the disk is used
|
||||
KEY_LENGTH=8 # length of the upload/download key token
|
||||
RATE_LIMIT_ENABLED=1
|
||||
TRUST_PROXY=1 # proxy sets X-Forwarded-For
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user