From abab251aa1e1c96ffd5783702f26f6a989f0d840 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Tue, 30 Dec 2025 19:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0acme=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E6=8C=81=E4=B9=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/template/tls_cert_config.json | 3 ++- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/template/tls_cert_config.json b/config/template/tls_cert_config.json index e96c273..bfa6954 100644 --- a/config/template/tls_cert_config.json +++ b/config/template/tls_cert_config.json @@ -27,6 +27,7 @@ "acme": { "domain": ["你的域名"], "email": "你的邮箱", + "data_directory": "/etc/sing-box/acme", "dns01_challenge": { "provider": "cloudflare", "api_token": "你的Cloudflare_API_Token" @@ -54,4 +55,4 @@ ], "final": "direct" } -} \ No newline at end of file +} diff --git a/docker-compose.yml b/docker-compose.yml index e3a5882..000ea04 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,4 +7,5 @@ services: volumes: - ./config/config.json:/etc/sing-box/config.json - ./tls:/etc/sing-box/tls + - ./acme:/etc/sing-box/acme command: -C /etc/sing-box run \ No newline at end of file