将自签证书和acme证书统一迁移到tls文件夹

This commit is contained in:
Olia Lisa
2025-12-31 09:54:02 +08:00
parent 73a6dd2111
commit eb36486503
4 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -24,8 +24,8 @@
"enabled": true,
"server_name": "你的域名",
"alpn": ["h3"],
"key_path": "/etc/sing-box/tls/server.key",
"certificate_path": "/etc/sing-box/tls/server.crt"
"key_path": "/etc/sing-box/tls/self-tls/server.key",
"certificate_path": "/etc/sing-box/tls/self-tls/server.crt"
}
}
],
+1 -1
View File
@@ -27,7 +27,7 @@
"acme": {
"domain": ["你的域名"],
"email": "你的邮箱",
"data_directory": "/etc/sing-box/acme",
"data_directory": "/etc/sing-box/tls/acme",
"dns01_challenge": {
"provider": "cloudflare",
"api_token": "你的Cloudflare_API_Token"