-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbrowsefile.json
122 lines (122 loc) · 3.61 KB
/
browsefile.json
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"users": [
{
"hashPasswordFirstRun": false,
"admin": false,
"allowEdit": true,
"allowNew": true,
"lockPassword": true,
"locale": "it",
"password": "$2a$10$wWxfOR4o2Uw2dafsVEHUiueCdH/bSb4esUJlmi8gIN.SebX3Lt/5O",
"username": "user1",
"viewMode": "mosaic",
"shares": [],
"ipAuth": [],
"uid": 1000,
"gid": 1000
},
{
"hashPasswordFirstRun": false,
"admin": false,
"allowEdit": true,
"allowNew": true,
"lockPassword": false,
"locale": "en",
"password": "$2a$10$vxDANZNGJqEVpdIYsjwpX.TiWtQjwPhncQb7UgWKVPi2gceivIQSW",
"username": "user2",
"viewMode": "mosaic",
"shares": [
{
"path": "/share",
"allowExternal": true,
"allowLocal": false,
"allowedUsers": [
"admin",
"user1"
]
}
],
"ipAuth": [],
"uid": 1000,
"gid": 1000
},
{
"hashPasswordFirstRun": false,
"admin": false,
"allowEdit": true,
"allowNew": true,
"lockPassword": false,
"locale": "en",
"password": "$2a$10$6u8xE1gC/UG5cQCQrp8h0O81RxzrdGD91bumnSsZp24/x15habVoS",
"username": "user3",
"viewMode": "mosaic",
"shares": [],
"ipAuth": [],
"uid": 1000,
"gid": 1000
},
{
"hashPasswordFirstRun": false,
"admin": true,
"allowEdit": true,
"allowNew": true,
"lockPassword": false,
"locale": "en",
"password": "$2a$10$K/fixHTL4zsYdJdwus/m8OAoP2WmXZcfM2eog.cAaxQ38rn6GeUd2",
"username": "admin",
"viewMode": "list",
"shares": [
{
"path": "/movies",
"allowExternal": true,
"allowLocal": true,
"allowedUsers": [
"user1",
"user2",
"user3"
]
},
{
"path": "/share",
"allowExternal": true,
"allowLocal": false,
"allowedUsers": []
}
],
"ipAuth": [
"127.0.0.1"
],
"uid": 1000,
"gid": 1000
}
],
"http": {
"port": 8081,
"ip": "127.0.0.1",
"authMethod": "default"
},
"https": {
"port": 8082,
"ip": "127.0.0.1",
"authMethod": "default"
},
"log": "stdout",
"tlsKey": "/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/tmp/server.key",
"tlsCert": "/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/tmp/server.crt",
"filesPath": "/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/tmp2",
"captchaConfig": {
"host": "",
"key": "",
"secret": ""
},
"auth": {
"header": "X-Forwarded-User",
"key": "2Iwwf2bjWhQiJq9OoRpOmQkgXRixnY86KSGlARHO9lcAWeyh2ULxqM7LEDELx/Jv4NdR1ZPHo6iE7B1h3FTFIQ=="
},
"preview": {
"scriptPath": "/home/v/GolangProjects/browsefile/backend/bfconvert.sh",
"threads": 2,
"previewOnFirstRun": false
},
"externalShareHost": "https://hm.com:8082"
}