From cae634d386725c258009f6579310c323995bc9cd Mon Sep 17 00:00:00 2001 From: Codex Date: Tue, 1 Sep 2026 05:58:32 -0700 Subject: [PATCH] fix: persist DC9 sing-box ACME storage --- servers/bwh-us-dc9/sing-box/.env.example | 2 +- servers/bwh-us-dc9/sing-box/compose.yaml | 2 +- servers/bwh-us-dc9/sing-box/etc/sing-box/config.json.template | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/bwh-us-dc9/sing-box/.env.example b/servers/bwh-us-dc9/sing-box/.env.example index ef2be7b..126552d 100644 --- a/servers/bwh-us-dc9/sing-box/.env.example +++ b/servers/bwh-us-dc9/sing-box/.env.example @@ -14,4 +14,4 @@ VLESS_PORT=22590 VLESS_UUID=00000000-0000-4000-8000-000000000000 REALITY_SERVER_NAME=www.cloudflare.com REALITY_PRIVATE_KEY=change-me -REALITY_SHORT_ID=01234567 +REALITY_SHORT_ID=0123456789abcdef diff --git a/servers/bwh-us-dc9/sing-box/compose.yaml b/servers/bwh-us-dc9/sing-box/compose.yaml index da32429..d389c67 100644 --- a/servers/bwh-us-dc9/sing-box/compose.yaml +++ b/servers/bwh-us-dc9/sing-box/compose.yaml @@ -30,7 +30,7 @@ services: restart: "no" sing-box: - image: ghcr.io/sagernet/sing-box:v1.12.13 + image: ghcr.io/sagernet/sing-box:v1.14.0 restart: unless-stopped depends_on: config-render: diff --git a/servers/bwh-us-dc9/sing-box/etc/sing-box/config.json.template b/servers/bwh-us-dc9/sing-box/etc/sing-box/config.json.template index a725595..5a8d8f2 100644 --- a/servers/bwh-us-dc9/sing-box/etc/sing-box/config.json.template +++ b/servers/bwh-us-dc9/sing-box/etc/sing-box/config.json.template @@ -16,6 +16,7 @@ "server_name": "${DOMAIN}", "acme": { "domain": "${DOMAIN}", + "data_directory": "/var/lib/sing-box/certmagic-anytls", "email": "${ACME_EMAIL}", "dns01_challenge": { "provider": "cloudflare",