增加acme目录持久化
This commit is contained in:
parent
267429b229
commit
abab251aa1
@ -27,6 +27,7 @@
|
|||||||
"acme": {
|
"acme": {
|
||||||
"domain": ["你的域名"],
|
"domain": ["你的域名"],
|
||||||
"email": "你的邮箱",
|
"email": "你的邮箱",
|
||||||
|
"data_directory": "/etc/sing-box/acme",
|
||||||
"dns01_challenge": {
|
"dns01_challenge": {
|
||||||
"provider": "cloudflare",
|
"provider": "cloudflare",
|
||||||
"api_token": "你的Cloudflare_API_Token"
|
"api_token": "你的Cloudflare_API_Token"
|
||||||
@ -54,4 +55,4 @@
|
|||||||
],
|
],
|
||||||
"final": "direct"
|
"final": "direct"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,4 +7,5 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./config/config.json:/etc/sing-box/config.json
|
- ./config/config.json:/etc/sing-box/config.json
|
||||||
- ./tls:/etc/sing-box/tls
|
- ./tls:/etc/sing-box/tls
|
||||||
|
- ./acme:/etc/sing-box/acme
|
||||||
command: -C /etc/sing-box run
|
command: -C /etc/sing-box run
|
||||||
Loading…
Reference in New Issue
Block a user