HttpUploadComponent/config.yml

18 lines
810 B
YAML
Raw Normal View History

jid: upload.yourdomain.tld
secret: yoursecret
2015-06-28 05:21:30 -04:00
storage_path : ./
whitelist:
- yourdomain.tld
- someotherdomain.tld
2015-06-28 05:21:30 -04:00
max_file_size: 20971520 #20MiB
http_address: 127.0.0.1 #use 0.0.0.0 if you don't want to use a proxy
2015-06-28 05:21:30 -04:00
http_port: 8080
get_url : http://upload.yoursite.tld:8080
put_url : http://upload.yoursite.tld:8080
#keyfile: /etc/ssl/private/your.key
#certfile: /etc/ssl/certs/your.crt
expire_interval: 82800 #time in secs between expiry runs (82800 secs = 23 hours). set to '0' to disable
expire_maxage: 2592000 #files older than this (in secs) get deleted by expiry runs (2592000 = 30 days)
user_quota_hard: 104857600 #100MiB. set to '0' to disable rejection on uploads over hard quota
user_quota_soft: 78643200 #75MiB. set to '0' to disable deletion of old uploads over soft quota an expiry runs