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/.vuepress/theme.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ export default hopeTheme(
137
137
{
138
138
path: "/",
139
139
title: 'Kind tips',
140
-
content: '<i class="fa-solid fa-light-emergency-on fa-bounce" style="color: #ff0000;"></i> <span style="color:rgb(255, 0, 0);font-weight:bold;">Please check the reminder content carefully</span><br/><br/>1.<span style="color:blue; font-weight:bold;">The new version v3.25.0 has updated the new password method, and the acquisition method has also been changed. For details, please refer to the documentation page of your own installation method</span><br/>2.v3.25.1 Aliyun_open can choose to mount the backup disk or resource library by itself, for details <a href="/guide/drivers/aliyundrive_open.html#drive-type">Click to view for details</a><br/>3.The new version of AList version greater than v3.22.1 adds single sign-on to automatically register as an AList account, click to view the <a href="/guide/advanced/sso.html#sso-automatically-registers-as-an-alist-account">detailed description</a><br/>4.<a href="/guide/drivers/139.html">139Cloud</a>和<a href="/guide/drivers/189.html">189Cloud</a>For details of changes, please view the document by yourself, respectively<br/>5.v3.20.1version Breaking Changes <a href="https://github.com/alist-org/alist/discussions/4702">View detailed description</a>, go to <a href="/config/configuration.html#scheme">Configure documentation page</a><br/>6. AList v3.30.0 will no longer support Win7 because Go does not support it. <a href="https://github.com/golang/go/issues/64622">Click to view detailed instructions</a> .<br/>7.After adding the cloud disk, please configure [anti-theft/meta information] and other measures in time to prevent the account from being [frozen/disabled] due to malicious [access/sharing] by [crawlers/others].</span></span>',
140
+
content: '<i class="fa-solid fa-light-emergency-on fa-bounce" style="color: #ff0000;"></i> <span style="color:rgb(255, 0, 0);font-weight:bold;">Please check the reminder content carefully</span><br/><br/>1.<span style="color:blue; font-weight:bold;">The new version v3.25.0 has updated the new password method, and the acquisition method has also been changed. For details, please refer to the documentation page of your own installation method</span><br/>2.v3.25.1 Aliyun_open can choose to mount the backup disk or resource library by itself, for details <a href="/guide/drivers/aliyundrive_open.html#drive-type">Click to view for details</a><br/>3.The new version of AList version greater than v3.22.1 adds single sign-on to automatically register as an AList account, click to view the <a href="/guide/advanced/sso.html#sso-automatically-registers-as-an-alist-account">detailed description</a><br/>4.<a href="/guide/drivers/139.html">139Cloud</a>和<a href="/guide/drivers/189.html">189Cloud</a>For details of changes, please view the document by yourself, respectively<br/>5.v3.20.1version Breaking Changes <a href="https://github.com/alist-org/alist/discussions/4702">View detailed description</a>, go to <a href="/config/configuration.html#scheme">Configure documentation page</a><br/>6. AList v3.30.0 will no longer support Win7/Server2008 because Go does not support it. <a href="https://github.com/golang/go/issues/64622">Click to view detailed instructions</a> .<br/>7.After adding the cloud disk, please configure [anti-theft/meta information] and other measures in time to prevent the account from being [frozen/disabled] due to malicious [access/sharing] by [crawlers/others].</span></span>',
Copy file name to clipboardExpand all lines: docs/config/configuration.md
+48-5
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,13 @@ After modifying the configuration file, restart AList for changes to take effect
47
47
"name": "",
48
48
"db_file": "data\\data.db",
49
49
"table_prefix": "x_",
50
-
"ssl_mode": ""
50
+
"ssl_mode": "",
51
+
"dsn": ""
52
+
},
53
+
"meilisearch": {
54
+
"host": "http://localhost:7700",
55
+
"api_key": "",
56
+
"index_prefix": ""
51
57
},
52
58
"scheme": {
53
59
"address": "0.0.0.0",
@@ -61,11 +67,12 @@ After modifying the configuration file, restart AList for changes to take effect
61
67
},
62
68
"temp_dir": "data\\temp",
63
69
"bleve_dir": "data\\bleve",
70
+
"dist_dir": "",
64
71
"log": {
65
72
"enable": true,
66
73
"name": "data\\log\\log.log",
67
-
"max_size": 10,
68
-
"max_backups": 5,
74
+
"max_size": 50,
75
+
"max_backups": 30,
69
76
"max_age": 28,
70
77
"compress": false
71
78
},
@@ -100,7 +107,7 @@ After modifying the configuration file, restart AList for changes to take effect
100
107
"allow_headers": [
101
108
"*"
102
109
]
103
-
}
110
+
}
104
111
}
105
112
```
106
113
@@ -194,7 +201,8 @@ The database configuration, which is by default `sqlite3`. Available options are
194
201
"name": "", //database name
195
202
"db_file": "data\\data.db", //Database location, used by sqlite3
196
203
"table_prefix": "x_", //database table name prefix
197
-
"ssl_mode": ""//To control the encryption options during the SSL handshake, the parameters can be searched by themselves, or check the answer from ChatGPT below
204
+
"ssl_mode": "", //To control the encryption options during the SSL handshake, the parameters can be searched by themselves, or check the answer from ChatGPT below
The configuration of scheme. Set this field if using HTTPS.
@@ -290,6 +316,23 @@ Where data is stored when using **`bleve`** index.
290
316
291
317
292
318
319
+
### **dist_dir**
320
+
321
+
If this item is set, the front -end file of this option is preferred to render, support the use of other front -end files, and the back -end continues to use the original application
Upload the front -end file (dist) to the `data` folder of the application, and then fill in this way. The disadvantage is that if you update each time, you need to change the file manually
327
+
328
+
```json
329
+
"dist_dir": "data\\dist",
330
+
```
331
+
332
+
<br/>
333
+
334
+
335
+
293
336
### **log**
294
337
295
338
The log configuration. Set this field to save detailed logs of disable.
Copy file name to clipboardExpand all lines: docs/config/global.md
+33-2
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,12 @@ star: true
20
20
21
21
### **Hide files**
22
22
23
-
Match files hidden by regular expressions(`javascript`). If you don't understand, don't fill in them randomly. Wrong regular expressions will cause the front-end page to crash. One per line. By default, there is an example expression that hides README.md in all directories.
23
+
Match files hidden by regular expressions(`javascript`). If you don't understand, don't fill in them randomly. Wrong regular expressions `/\/README.md/i`will cause the front-end page to crash. One per line. By default, there is an example expression that hides README.md in all directories.
24
24
25
25
It's not really hiding. It still exists in the list returned by the api, it just doesn't show up in the frontend list. So if you want to really hide, add a [meta](../guide/advanced/meta.md) record instead.
26
26
27
+
<br/>
28
+
27
29
28
30
29
31
### **Package download**
@@ -33,18 +35,24 @@ Whether to enable package download, default is true. 【Not recommended especial
33
35
- It is recommended to push files to Aria2 for downloading. Aria2 supports the download folder to save the directory structure.
34
36
- View in detail【[What is the difference between the two Aria2](./other.md#other)】
35
37
38
+
<br/>
39
+
36
40
37
41
38
42
### **Customize head**
39
43
40
44
Any content you want which are automatically placed at the beginning of the head of the web page
41
45
46
+
<br/>
47
+
42
48
43
49
44
50
### **Customize body**
45
51
46
52
Any content you want which are automatically placed at the end of the body of the web page
47
53
54
+
<br/>
55
+
48
56
49
57
50
58
### **Link expiration**
@@ -54,32 +62,53 @@ The expiration time of the direct link, in hours. If it equals 0, it will not ex
54
62
Only the straight chain of the path with the password added will have an expiration time, otherwise it will not expire.Because the expiration time is added to the sign query parameter, and the path without adding the password will not check the sign.
55
63
:::
56
64
65
+
<br/>
66
+
57
67
58
68
59
69
### **Privacy regs**
60
70
61
71
What you don't want to show in the error message, One regular expression (in `Golang`) per line. The matched content will be replaced with * of the corresponding length.
62
72
73
+
<br/>
74
+
63
75
64
76
65
77
### **Ocr api**
66
78
67
79
Used to identify verification codes. You can deploy yourself: https://hub.docker.com/r/xhofe/ddddocr_server. The default ocr api is deployed on the [koyeb](https://app.koyeb.com/)(No availability guarantee), which is not recommended to use in production environment.
68
80
81
+
<br/>
82
+
69
83
70
84
71
85
### **Sign all**
72
86
73
-
Add signatures to the direct link of all files (whether with password or not) That is https://xxxx.com/d/xx? ==**sign=vUQ5KFXnwMseKnIUXGRcfoG3cEHzKFBiPGp1NriMDXA=:0**==
87
+
Add signatures to the direct link of all files (whether with password or not)
88
+
89
+
That is`https://xxxx.com/d/xx?sign=vUQ5KFXnwMseKnIUXGRcfoG3cEHzKFBiPGp1NriMDXA=:0`
74
90
75
91
If you need to close it, you can close it yourself, but you need to pay attention to security issues. After closing the signature, if the site can be accessed by the public network, the password may be bypassed to access private files.
76
92
93
+
There are two other methods that also carry the `sign?xxx` parameter, 1. Add Storage Select `Enable Signing`, 2. Meta Information Add Password
94
+
95
+
The scope of the three methods`Sign All` > `Meta Information Add Password` > Add Storage Select `Enable Signing`
96
+
97
+
1. Sign All: If this option is turned on, the sign parameter will be carried regardless of whether meta-information is encrypted or not, and whether `Enable Signing` is checked when adding storage.
98
+
2. Meta Information Add Password:Only files under this meta information path will carry the sign parameter.
99
+
- If **Apply to sub folder** is turned on, all files in this path will carry the sign parameter
100
+
3. Add Storage Select `Enable Signing`:Only this storage driver carries the sign parameter.
101
+
102
+
<br/>
103
+
77
104
78
105
79
106
## **Forward direct link params**
80
107
81
108
You can check it out yourself:**https://github.com/alist-org/alist/issues/3123**
82
109
110
+
<br/>
111
+
83
112
84
113
85
114
### **Filename char mapping**
@@ -94,6 +123,8 @@ For example, the `/` symbol is a path symbol in the Alist program. Some people
94
123
95
124
The default is the first one at the beginning. If you want to add it later, you can add it later. The format is as simple as above.
0 commit comments