-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
79 lines (75 loc) · 3.27 KB
/
Copy pathconfig.example.yaml
File metadata and controls
79 lines (75 loc) · 3.27 KB
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
# anssl 配置模板。
# 首次安装后通常只需要先填写 server.accessKey。
# 除 server.accessKey 外,其余字段均可按需要启用;留空或 false 表示不启用对应能力。
server:
# 必填。从 anssl.cn 控制台 -> 开发者 -> API 凭证 中获取,用于客户端连接后端时鉴权。
accessKey: "your_access_key_here"
# 可选。HTTP-01 验证服务端口,默认 19000。
# Nginx/Apache 反向代理 .well-known/acme-challenge 到该端口后,证书申请验证可自动完成。
port: 19000
ssl:
# 可选。Nginx 证书目录,配置后会自动部署证书并执行 nginx -t / nginx reload。
# 留空则不部署到 Nginx。
nginxPath: ""
# 可选。Apache 证书目录,配置后会自动部署证书并执行 Apache 配置测试 / graceful reload。
# 留空则不部署到 Apache。
apachePath: ""
# 可选。RustFS TLS 证书目录,配置后会自动部署 RustFS 使用的 TLS 证书。
# 留空则不部署到 RustFS。
rustFSPath: ""
# 可选。飞牛 OS 证书部署开关,默认 false。
feiNiuEnabled: false
# 可选。1Panel 配置。url 或 apiKey 留空则不部署到 1Panel。
onePanel:
# 1Panel 面板地址,例如 http://localhost:10000。
url: ""
# 1Panel API 密钥,在 1Panel 面板 设置 -> 安全 -> API 接口 中生成。
apiKey: ""
update:
# 可选。自更新下载源类型,支持 github、ghproxy、custom,默认 ghproxy。
# github:直连 GitHub。
# ghproxy:使用 https://gh-proxy.com/https://github.com 加速。
# custom:使用 customUrl 指定的自定义 GitHub 镜像前缀。
mirror: "ghproxy"
# 可选。mirror 为 custom 时必填,例如 https://your-proxy.example.com/https://github.com。
customUrl: ""
# 可选。HTTP/HTTPS 代理地址,例如 http://127.0.0.1:7890。
proxy: ""
log:
# 可选。单个日志文件最大体积(MB),0 表示使用默认值 20。
maxSizeMB: 20
# 可选。最多保留的轮转日志文件数量,0 表示使用默认值 5。
maxBackups: 5
# 可选。轮转日志最长保留天数,0 表示使用默认值 30。
maxAgeDays: 30
# 可选。云服务 provider 配置。未配置则不启用云服务上传。
# 支持的 name:
# - aliyun:阿里云。CAS 上传证书使用 accessKeyId/accessKeySecret;ESA 业务额外需要 esaSiteId。
# - qiniu:七牛云。使用 accessKey/accessSecret。
# - cloudTencent:腾讯云。使用 secretId/secretKey,通过腾讯云 SSL UploadCertificate 上传。
# provider:
# - name: "aliyun"
# remark: "阿里云"
# auth:
# # 阿里云 AccessKey ID。
# accessKeyId: "your-aliyun-access-key-id"
# # 阿里云 AccessKey Secret。
# accessKeySecret: "your-aliyun-access-key-secret"
# # 阿里云 ESA 业务专用字段,仅执行 ESA 上传证书时需要。
# esaSiteId: "your-esa-site-id"
#
# - name: "qiniu"
# remark: "七牛云"
# auth:
# # 七牛云 AccessKey。
# accessKey: "your-qiniu-access-key"
# # 七牛云 SecretKey。
# accessSecret: "your-qiniu-access-secret"
#
# - name: "cloudTencent"
# remark: "腾讯云"
# auth:
# # 腾讯云 SecretId。
# secretId: "your-tencent-secret-id"
# # 腾讯云 SecretKey。
# secretKey: "your-tencent-secret-key"