update example

This commit is contained in:
yuzuki999 2023-09-22 19:30:47 +08:00
parent a1e14d0aca
commit bdca51b14f
2 changed files with 13 additions and 9 deletions

View File

@ -29,7 +29,7 @@
"ListenIP": "0.0.0.0", "ListenIP": "0.0.0.0",
"SendIP": "0.0.0.0", "SendIP": "0.0.0.0",
"EnableProxyProtocol": false, "EnableProxyProtocol": false,
"EnableDNS": true "EnableDNS": true,
"DomainStrategy": "ipv4_only", "DomainStrategy": "ipv4_only",
"LimitConfig": { "LimitConfig": {
"EnableRealtime": false, "EnableRealtime": false,

View File

@ -36,7 +36,7 @@
"Log": { "Log": {
"Level": "info", "Level": "info",
"Timestamp": false "Timestamp": false
}, }
}, },
{ {
"Type": "xray", "Type": "xray",
@ -182,10 +182,6 @@
} }
} }
}, },
{
//
"Include": "../example/config_full_node1.json",
},
{ {
// xray // xray
@ -227,7 +223,7 @@
"Alpn": "", "Alpn": "",
"Path": "", "Path": "",
"Dest": "", "Dest": "",
"ProxyProtocolVer": 0, "ProxyProtocolVer": 0
} }
}, },
{ {
@ -238,16 +234,24 @@
"ApiHost": "http://127.0.0.1", "ApiHost": "http://127.0.0.1",
"ApiKey": "test", "ApiKey": "test",
"NodeID": 33, "NodeID": 33,
"Timeout": 30, "Timeout": 30
}, },
// ControllerConfig // ControllerConfig
"Options": { "Options": {
"Core": "sing", "Core": "sing",
"EnableProxyProtocol": true, "EnableProxyProtocol": true,
"EnableTFO": true, "EnableTFO": true,
"DomainStrategy": "ipv4_only", "DomainStrategy": "ipv4_only"
// More // More
} }
},
{
//
"Include": "../example/config_full_node1.json"
},
{
// Http
"Include": "http://127.0.0.1:11451/config_full_node1.json"
} }
] ]
} }