forked from Gardener/ShareX_Storage
28 lines
710 B
YAML
28 lines
710 B
YAML
|
# 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
|