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
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,8 @@ After modifying the configuration file, restart AList for changes to take effect
63
63
"cert_file": "",
64
64
"key_file": "",
65
65
"unix_file": "",
66
-
"unix_file_perm": ""
66
+
"unix_file_perm": "",
67
+
"enable_h2c": false
67
68
},
68
69
"temp_dir": "data\\temp",
69
70
"bleve_dir": "data\\bleve",
@@ -328,7 +329,8 @@ The configuration of scheme. Set this field if using HTTPS.
328
329
"cert_file": "data\\cert.crt", // Path of cert file
329
330
"key_file": "data\\key.key", // Path of key file
330
331
"unix_file": "", // Unix socket file path to listen on, default empty, if you want to use unix socket, set it to non empty
331
-
"unix_file_perm": ""// Unix socket file permission, set to the appropriate permissions
332
+
"unix_file_perm": "", // Unix socket file permission, set to the appropriate permissions
333
+
"enable_h2c": false// Support HTTP/2 Cleartext (H2C) protocol for alist's http service. The cleartext HTTP/2 protocol supports nginx's grpc_pass after it is enabled - https://github.com/AlistGo/alist/pull/8294
332
334
},
333
335
```
334
336
@@ -486,6 +488,18 @@ Configuration for background task threads.
486
488
-**decompress_upload**:false
487
489
-**allow_retry_canceled**:Allow users to retry previously canceled tasks
488
490
491
+
-----
492
+
493
+
A new **transmission** configuration path is added to the background configuration: `/@manage/settings/traffic`
494
+
495
+
- Supports limiting the number of threads and transmission uplink and downlink rates of ==6 tasks==
496
+
-**https://github.com/AlistGo/alist/pull/7948**
497
+
498
+
Operation principle: If `settings/traffic` does not have a thread number field (first run or just upgraded from an old version), `settings/traffic` will be initialized with the value of the config configuration file. If `settings/traffic` has a value, the thread configuration information of config will be ignored
- Summary: For newly installed or upgraded versions, the values will be read from the configuration file to initialize the `traffic` configuration information. Subsequent modifications to the thread only need to be modified in the background.
0 commit comments