fix example config notes

This commit is contained in:
yuzuki999
2023-08-20 22:29:08 +08:00
parent c3bb809c71
commit 24423d892c

View File

@@ -1,14 +1,16 @@
{
"Log": {
// V2bX 的日志配置,独立于各 Core 的 log 配置
"Level": "error"
},
"Cores": [
{
"Type": "sing",
// Core类型
"Type": "sing",
"Log": {
// 同 SingBox log 部分配置
"Level": "error",
"Timestamp": true
}
@@ -18,6 +20,7 @@
"Type": "xray",
"Log": {
// 同 Xray-core log 部分配置
"Level": "error"
},
"DnsConfigPath": ""
@@ -28,33 +31,35 @@
// Node配置有两种写法
{
// 写法1
"Core": "sing",
// Core类型
"ApiHost": "http://127.0.0.1",
"Core": "sing",
// API接口地址
"ApiKey": "test",
"ApiHost": "http://127.0.0.1",
// API密钥即Token
"NodeID": 33,
"ApiKey": "test",
// 节点ID
"NodeType": "shadowsocks",
"NodeID": 33,
// 节点类型
"Timeout": 30,
"NodeType": "shadowsocks",
// 请求超时时间
"RuleListPath": "",
"Timeout": 30,
// 本地审计规则
"ListenIP": "0.0.0.0",
"RuleListPath": "",
// 监听IP
"SendIP": "0.0.0.0",
"ListenIP": "0.0.0.0",
// 发送IP
"EnableProxyProtocol": true,
"SendIP": "0.0.0.0",
// 开启 Proxy Protocol参见 https://github.com/haproxy/haproxy/blob/master/doc/proxy-protocol.txt
"EnableTFO": true
"EnableProxyProtocol": false,
// 开启 TCP Fast Open
"EnableTFO": true
// More
}
/*,
{
// 写法2
"ApiConfig": {
"ApiHost": "http://127.0.0.1",
"ApiKey": "test",