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": { "Log": {
// V2bX Core log // V2bX Core log
"Level": "error" "Level": "error"
}, },
"Cores": [ "Cores": [
{ {
"Type": "sing",
// Core // Core
"Type": "sing",
"Log": { "Log": {
// SingBox log // SingBox log
"Level": "error", "Level": "error",
"Timestamp": true "Timestamp": true
} }
@ -18,6 +20,7 @@
"Type": "xray", "Type": "xray",
"Log": { "Log": {
// Xray-core log // Xray-core log
"Level": "error" "Level": "error"
}, },
"DnsConfigPath": "" "DnsConfigPath": ""
@ -28,33 +31,35 @@
// Node // Node
{ {
// 1 // 1
"Core": "sing",
// Core // Core
"ApiHost": "http://127.0.0.1", "Core": "sing",
// API // API
"ApiKey": "test", "ApiHost": "http://127.0.0.1",
// APIToken // APIToken
"NodeID": 33, "ApiKey": "test",
// ID // ID
"NodeType": "shadowsocks", "NodeID": 33,
// //
"Timeout": 30, "NodeType": "shadowsocks",
// //
"RuleListPath": "", "Timeout": 30,
// //
"ListenIP": "0.0.0.0", "RuleListPath": "",
// IP // IP
"SendIP": "0.0.0.0", "ListenIP": "0.0.0.0",
// IP // IP
"EnableProxyProtocol": true, "SendIP": "0.0.0.0",
// Proxy Protocol https://github.com/haproxy/haproxy/blob/master/doc/proxy-protocol.txt // Proxy Protocol https://github.com/haproxy/haproxy/blob/master/doc/proxy-protocol.txt
"EnableTFO": true "EnableProxyProtocol": false,
// TCP Fast Open // TCP Fast Open
"EnableTFO": true
// More // More
} }
/*, /*,
{ {
// 2 // 2
"ApiConfig": { "ApiConfig": {
"ApiHost": "http://127.0.0.1", "ApiHost": "http://127.0.0.1",
"ApiKey": "test", "ApiKey": "test",