-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
47 lines (47 loc) · 1.09 KB
/
config.json.example
File metadata and controls
47 lines (47 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"hostname": "localhost",
"https_mode": false,
"port": 5555,
"upload_path": "./",
"admin_password": "pleasechangethis",
"filename_length": 8,
"redis": "redis://127.0.0.1:6379",
"notifier": {
"enable": false,
"discord_webhook": null
},
"plausible": {
"enable": false,
"domain": null,
"endpoint": "https://plausible.io",
},
"file_retention": {
"enable": false,
"min_age": 30,
"max_age": 180
},
"storage": {
"filesize_limit": 524288,
"admin_filesize_limit": null
},
"blocklist": {
"extension": [
"exe",
"sh",
"msi",
"bat",
"dll",
"com"
],
"content_type": [
"text/x-sh",
"text/x-msdos-batch",
"application/x-dosexec",
"application/x-msdownload",
"application/vnd.microsoft.portable-executable",
"application/x-msi",
"application/x-msdos-program",
"application/x-sh"
]
}
}