You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/configuration.md
+144-1Lines changed: 144 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,36 @@ After modifying the configuration file, restart AList for changes to take effect
71
71
},
72
72
"delayed_start": 0,
73
73
"max_connections": 0,
74
-
"tls_insecure_skip_verify": true
74
+
"tls_insecure_skip_verify": true,
75
+
"tasks": {
76
+
"download": {
77
+
"workers": 5,
78
+
"max_retry": 1
79
+
},
80
+
"transfer": {
81
+
"workers": 5,
82
+
"max_retry": 2
83
+
},
84
+
"upload": {
85
+
"workers": 5,
86
+
"max_retry": 0
87
+
},
88
+
"copy": {
89
+
"workers": 5,
90
+
"max_retry": 2
91
+
}
92
+
},
93
+
"cors": {
94
+
"allow_origins": [
95
+
"*"
96
+
],
97
+
"allow_methods": [
98
+
"*"
99
+
],
100
+
"allow_headers": [
101
+
"*"
102
+
]
103
+
}
75
104
}
76
105
```
77
106
@@ -81,6 +110,10 @@ After modifying the configuration file, restart AList for changes to take effect
81
110
82
111
By default AList reads the configuration from environment variables, set this field to `true` to force AList to read config from the configuration file.
83
112
113
+
<br/>
114
+
115
+
116
+
84
117
### **site_url**
85
118
86
119
The address of your AList server, such as `https://pan.nn.ci`. This address is essential for some features, and thus thry may not work properly if unset:
@@ -100,6 +133,10 @@ Do not include the slash \(`/`\) at the end of the address. For example:
100
133
"site_url": "https://al.nn.ci/",
101
134
```
102
135
136
+
<br/>
137
+
138
+
139
+
103
140
### **cdn**
104
141
105
142
The address of the CDN. Included `$version` values will be dynamically replaced by the version of AList. Existing dist resources are hosted on both npm and GitHub, which can be found at:
@@ -121,14 +158,26 @@ Thus it is possible to use any npm or GitHub CDN path for this field. For exampl
121
158
122
159
Keep empty to use local dist resources.
123
160
161
+
<br/>
162
+
163
+
164
+
124
165
### **jwt_secret**
125
166
126
167
The secret used to sign the JWT token, randomly generated on first run.
127
168
169
+
<br/>
170
+
171
+
172
+
128
173
### **token_expires_in**
129
174
130
175
User login expiration time, in hours.
131
176
177
+
<br/>
178
+
179
+
180
+
132
181
### **database**
133
182
134
183
The database configuration, which is by default `sqlite3`. Available options are `sqlite3`, `mysql` and `postgres`.
@@ -194,6 +243,10 @@ In PostgreSQL, the `ssl_mode` parameter is used to specify how the client uses S
194
243
195
244
::::
196
245
246
+
<br/>
247
+
248
+
249
+
197
250
### **scheme**
198
251
199
252
The configuration of scheme. Set this field if using HTTPS.
@@ -213,6 +266,10 @@ The configuration of scheme. Set this field if using HTTPS.
213
266
},
214
267
```
215
268
269
+
<br/>
270
+
271
+
272
+
216
273
### **temp_dir**
217
274
218
275
The directory to keep temporary files. By default AList uses `data/temp`.
@@ -221,10 +278,18 @@ The directory to keep temporary files. By default AList uses `data/temp`.
221
278
temp_dir is a temporary folder exclusive to alist. In order to prevent AList from generating garbage files when being interrupted, the directory will be cleared every time AList starts, so do not store anything in this directory or map this directory & subdirectories to directories in use when using Docker.
222
279
:::
223
280
281
+
<br/>
282
+
283
+
284
+
224
285
### **bleve_dir**
225
286
226
287
Where data is stored when using **`bleve`** index.
227
288
289
+
<br/>
290
+
291
+
292
+
228
293
### **log**
229
294
230
295
The log configuration. Set this field to save detailed logs of disable.
@@ -240,20 +305,98 @@ The log configuration. Set this field to save detailed logs of disable.
240
305
},
241
306
```
242
307
308
+
<br/>
309
+
310
+
311
+
243
312
### **delayed_start**
244
313
245
314
**Time unit: second** (new feature of v3.19.0)
246
315
247
316
Whether to delay AList startup.
248
317
Generally this option is used when AList is configured to auto-start. The reason is that sometimes network takes some time to connect, so drivers requiring cannot start correctly after Alist starts.
249
318
319
+
<br/>
320
+
321
+
322
+
250
323
### **max_connections**
251
324
252
325
The maximum amount of connections at the same time. The default is 0, which is unlimited.
253
326
254
327
- 10 or 20 is recommended for general devices such as n1.
255
328
- Usage Scenarios: the device will crash if the device is bad at concurrency when picture mode is enabled.
256
329
330
+
<br/>
331
+
332
+
333
+
257
334
### **tls_insecure_skip_verify**
258
335
259
336
Whether not to verify the SSL certificate. If there is a problem with the certificate of the website used when this option is not enabled (such as not including the intermediate certificate, having the certificate expired, or forging the certificate, etc.), the service will not be available. Run the program in a safe network environment when this option is enabled.
337
+
338
+
<br/>
339
+
340
+
341
+
342
+
### **tasks**
343
+
344
+
Configuration for background task threads.
345
+
346
+
```json
347
+
"tasks": {
348
+
"download": {
349
+
"workers": 5,
350
+
"max_retry": 1
351
+
},
352
+
"transfer": {
353
+
"workers": 5,
354
+
"max_retry": 2
355
+
},
356
+
"upload": {
357
+
"workers": 5,
358
+
"max_retry": 0
359
+
},
360
+
"copy": {
361
+
"workers": 5,
362
+
"max_retry": 2
363
+
}
364
+
}
365
+
```
366
+
367
+
-**workers**: Number of task threads.
368
+
-**max_retry**: Number of retries.
369
+
- 0: Retries disabled.
370
+
371
+
-**download**: Download task when downloading offline
372
+
-**transfer**: upload transfer task after offline download is completed
373
+
-**upload**: upload task
374
+
-**copy**: copy the task
375
+
376
+
<br/>
377
+
378
+
379
+
380
+
### **cors**
381
+
382
+
Configuration for Cross-Origin Resource Sharing (CORS).
383
+
384
+
```json
385
+
"cors": {
386
+
"allow_origins": [
387
+
"*"
388
+
],
389
+
"allow_methods": [
390
+
"*"
391
+
],
392
+
"allow_headers": [
393
+
"*"
394
+
]
395
+
}
396
+
```
397
+
398
+
-**allow_origins**: Allowed sources.
399
+
-**allow_methods**: Allowed request methods.
400
+
-**allow_headers**: Allowed request headers.
401
+
402
+
Use it to understand it by yourself, and then configure it. If you do n’t know, please do n’t modify it at will. Use the default configuration.
Copy file name to clipboardExpand all lines: docs/guide/drivers/aliyundrive.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ const onClick = async ()=>{
116
116
117
117
### **Root folder file_id**
118
118
119
-
Open the official website of Aliyundrive and click the string behind the url when you click into the folder you want to set, such as https://www.aliyundrive.com/drive/folder/5fe01e1830601baf774e4827a9fb8fb2b5bf7940, which is `5fe01e1830601baf774e4827a9fb8fb2b5bf7940`:
119
+
Open the official website of Aliyundrive and click the string behind the url when you click into the folder you want to set, such as https://www.alipan.com/drive/folder/5fe01e1830601baf774e4827a9fb8fb2b5bf7940, which is `5fe01e1830601baf774e4827a9fb8fb2b5bf7940`:
- <iclass="fa-solid fa-lightbulb fa-bounce"style="color: orange;"></i> Click the link to get [**Coupon**](https://www.aliyundrive.com/cpx/member?userCode=MzAwMDM1&disableNav=YES), 11.11 Promotion! Historical base price! The original price of 30%paid SVIP and given an additional 3 -month SVIP. [**immediately buy**](https://www.aliyundrive.com/cpx/member?userCode=MzAwMDM1&disableNav=YES) The original price of 30%paid SVIP and given an additional 3 -month SVIP. ==Only 10,000 copies==
44
+
- <iclass="fa-solid fa-lightbulb fa-bounce"style="color: orange;"></i> Click the link to get [**Coupon**](https://www.alipan.com/cpx/member?userCode=MzAwMDM1&disableNav=YES), 11.11 Promotion! Historical base price! The original price of 30%paid SVIP and given an additional 3 -month SVIP. [**immediately buy**](https://www.alipan.com/cpx/member?userCode=MzAwMDM1&disableNav=YES) The original price of 30%paid SVIP and given an additional 3 -month SVIP. ==Only 10,000 copies==
@@ -98,7 +98,7 @@ Go to:**https://alist.nn.ci/tool/aliyundrive/request**
98
98
99
99
The default is `root`, which displays all cloud disk contents. If you only want to display the contents of a certain folder, you can change it to `file_id`
100
100
101
-
Open the official website of Aliyundrive and click the string behind the url when you click into the folder you want to set, such as https://www.aliyundrive.com/drive/folder/5fe01e1830601baf774e4827a9fb8fb2b5bf7940
101
+
Open the official website of Aliyundrive and click the string behind the url when you click into the folder you want to set, such as https://www.alipan.com/drive/folder/5fe01e1830601baf774e4827a9fb8fb2b5bf7940
102
102
103
103
which is `5fe01e1830601baf774e4827a9fb8fb2b5bf7940`
1. If the script will not be created, you can download it yourself: [**Script Download**](https://www.aliyundrive.com/s/DHPMhRtKUzY/folder/63e0961eae317bd4d4d945cda69dbb00f9837fb7)
204
+
1. If the script will not be created, you can download it yourself: [**Script Download**](https://www.alipan.com/s/DHPMhRtKUzY/folder/63e0961eae317bd4d4d945cda69dbb00f9837fb7)
205
205
206
206
2. If the script will not be used, you can watch the video: [**reference video**](https://www.bilibili.com/video/BV1DG411s7j5?t=266.2)
-[VidHub](https://okaapps.com/product/1659622164), [Nplayer](https://www.aliyundrive.com/s/cf3p39UXkxa),[kodi](https://kodi.tv/download),[nova nova magic change](https://www.aliyundrive.com/s/cf3p39UXkxa/folder/63e8dcc229204583fff34f8cbd53dfcd6a86f526)
69
+
-[VidHub](https://okaapps.com/product/1659622164), [Nplayer](https://www.alipan.com/s/cf3p39UXkxa),[kodi](https://kodi.tv/download),[nova nova magic change](https://www.alipan.com/s/cf3p39UXkxa/folder/63e8dcc229204583fff34f8cbd53dfcd6a86f526)
70
70
- If you only look at Ali, you can use Ali's official cooperation
71
71
- Huanshi store-Alibaba cloud disk TV version, online disk player-Alibaba cloud disk TV version
0 commit comments