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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
使用宝塔面板管理docker,在容器中的/opt/alist/data/文件夹中新建了config.json文件,并按照文档中的模板进行了配置。然而重启之后配置文件似乎没有被应用。
起因是使用webdav挂载onedrive后,下载文件时提示“不安全的下载”,并发现是由于下载链接为http导致的,根据文档配置了"site_url"字段,但未得到改善,同时数据库索引功能也无法正常使用。
请求各位的帮助,不胜感激!
config.json
{
"force": true,
"site_url": "https://dl.chrisli.me",
"cdn": "",
"jwt_secret": "random_generated",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data\data.db",
"table_prefix": "x_",
"ssl_mode": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "data\temp",
"bleve_dir": "data\bleve",
"log": {
"enable": true,
"name": "data\log\log.log",
"max_size": 10,
"max_backups": 5,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 0,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1
},
"transfer": {
"workers": 5,
"max_retry": 2
},
"upload": {
"workers": 5,
"max_retry": 0
},
"copy": {
"workers": 5,
"max_retry": 2
}
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
""
],
"allow_headers": [
"*"
]
}
}
Beta Was this translation helpful? Give feedback.
All reactions