new version

This commit is contained in:
Anaïs Saraiva
2026-08-16 16:04:26 +02:00
parent a6ff57e5d5
commit c6a96b08c3
7 changed files with 33 additions and 6 deletions
+1
View File
@@ -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
```