update example

This commit is contained in:
yuzuki999
2023-08-30 15:52:10 +08:00
parent 7e788b3b34
commit eb8c394176

View File

@@ -54,8 +54,6 @@
"NodeType": "shadowsocks", "NodeType": "shadowsocks",
// 请求超时时间 // 请求超时时间
"Timeout": 30, "Timeout": 30,
// 本地审计规则
"RuleListPath": "",
// 监听IP // 监听IP
"ListenIP": "0.0.0.0", "ListenIP": "0.0.0.0",
// 发送IP // 发送IP
@@ -67,7 +65,7 @@
// 设置 Domain Strategy // 设置 Domain Strategy
// 可选 prefer_ipv4 / prefer_ipv6 / ipv4_only / ipv6_only // 可选 prefer_ipv4 / prefer_ipv6 / ipv4_only / ipv6_only
"DomainStrategy": "ipv4_only", "DomainStrategy": "ipv4_only"
// More // More
} }
@@ -80,27 +78,29 @@
"ApiKey": "test", "ApiKey": "test",
"NodeID": 33, "NodeID": 33,
"Timeout": 30, "Timeout": 30,
"RuleListPath": ""
}, },
"Options": { "Options": {
"Core": "sing", "Core": "sing",
"EnableProxyProtocol": true, "EnableProxyProtocol": true,
"EnableTFO": true "EnableTFO": true
"DomainStrategy": "ipv4_only", "DomainStrategy": "ipv4_only",
// More
} }
}, },
{ {
// Xray
"Core": "xray", "Core": "xray",
"ApiHost": "http://127.0.0.1", "ApiHost": "http://127.0.0.1",
"ApiKey": "test", "ApiKey": "test",
"NodeID": 33, "NodeID": 33,
"NodeType": "shadowsocks", "NodeType": "shadowsocks",
"Timeout": 30, "Timeout": 30,
"RuleListPath": "",
"ListenIP": "0.0.0.0", "ListenIP": "0.0.0.0",
"SendIP": "0.0.0.0", "SendIP": "0.0.0.0",
"EnableProxyProtocol": true, "EnableProxyProtocol": true,
"EnableTFO": true "EnableTFO": true
// More
}*/ }*/
] ]
} }