ShareX_Storage/config.yaml

28 lines
710 B
YAML
Raw Normal View History

2018-06-10 15:49:53 +02:00
# if this is false, everyone can upload stuff.
auth: True
# if auth is true, only people that provide one of the tokens in the http headers are allowed to upload.
tokens:
- 'example token'
# everyone who has it can delete files based on the download link.
del_crypt_key: 'secret delete link key'
# in bytes
max_filesize: 1024 ** 2 * 100
# uploaded files will be stored here
data_path: 'data'
# this can only be a multiple of 2
url_hash_len: 6
# just affects the printed links (e.g. for reverse proxies)
protocol: 'https'
# uri that routes to this
prefix: '/f'
# whether or not extensions are appended in the generated links.
# links without file extensions still work. (just like push)
show_ext: True