更新配置模板

This commit is contained in:
Olia Lisa 2025-12-29 22:27:12 +08:00
parent a465de2bb9
commit cb5a025121

View File

@ -3,23 +3,6 @@
"level": "info", "level": "info",
"timestamp": true "timestamp": true
}, },
"certificate": {
"acme": {
"domains": [
"你的域名"
],
"email": "你的邮箱",
"provider": "cloudflare",
"dns": {
"api_token": "你的cloudflare_api_token"
},
"disable_http_challenge": true,
"disable_tls_alpn_challenge": true,
"path": "/etc/sing-box/tls"
}
},
"inbounds": [ "inbounds": [
{ {
"type": "tuic", "type": "tuic",
@ -41,8 +24,18 @@
"enabled": true, "enabled": true,
"server_name": "你的域名", "server_name": "你的域名",
"alpn": ["h3"], "alpn": ["h3"],
"key_path": "/etc/sing-box/tls/你的域名.key", "acme": {
"certificate_path": "/etc/sing-box/tls/你的域名.crt" "domain": [
"你的域名"
],
"email": "你的邮箱",
"provider": "cloudflare",
"dns": {
"cloudflare": {
"api_token": "你的Cloudflare_API_Token"
}
}
}
} }
} }
], ],