fix
This commit is contained in:
+6
-2
@@ -3,12 +3,16 @@ HOST=0.0.0.0
|
||||
PORT=3000
|
||||
|
||||
# Storage: persistent filesystem directory where uploaded files and
|
||||
# metadata live. Files survive restarts; no automatic expiration.
|
||||
# metadata live. Files survive restarts.
|
||||
STORAGE_DIR=./storage
|
||||
|
||||
# Maximum upload size. Accepts plain bytes or units (B, KB, MB, GB, TB,
|
||||
# case-insensitive). A request larger than this is rejected with 413.
|
||||
MAX_FILE_SIZE=5GB
|
||||
MAX_FILE_SIZE=10GB
|
||||
|
||||
# How long an uploaded file lives before it expires and is deleted.
|
||||
# In milliseconds. Default is 1 week (604800000).
|
||||
FILE_TTL_MS=604800000
|
||||
|
||||
# Brute-force protection: rate limit per client IP on download and
|
||||
# deletion endpoints. Set RATE_LIMIT_ENABLED=0 to disable.
|
||||
|
||||
Reference in New Issue
Block a user