mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 20:50:09 +00:00
refactor conf
This commit is contained in:
65
example/config.json
Normal file
65
example/config.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"Log": {
|
||||
"Level": "error"
|
||||
},
|
||||
"Cores": [
|
||||
{
|
||||
"Type": "sing",
|
||||
"Log": {
|
||||
"Level": "error",
|
||||
"Timestamp": true
|
||||
}
|
||||
},{
|
||||
"Type": "xray",
|
||||
"Log": {
|
||||
"Level": "error"
|
||||
},
|
||||
"DnsConfigPath": "",
|
||||
...
|
||||
}
|
||||
],
|
||||
"Nodes": [
|
||||
{
|
||||
"Core": "sing",
|
||||
"ApiHost": "http://127.0.0.1",
|
||||
"ApiKey": "test",
|
||||
"NodeID": 33,
|
||||
"NodeType": "shadowsocks",
|
||||
"Timeout": 30,
|
||||
"RuleListPath": "",
|
||||
"ListenIP": "0.0.0.0",
|
||||
"SendIP": "0.0.0.0",
|
||||
"EnableProxyProtocol": true,
|
||||
"EnableTFO": true,
|
||||
...
|
||||
},{
|
||||
"ApiConfig": {
|
||||
"ApiHost": "http://127.0.0.1",
|
||||
"ApiKey": "test",
|
||||
"NodeID": 33,
|
||||
"Timeout": 30,
|
||||
"RuleListPath": ""
|
||||
},
|
||||
"Options": {
|
||||
"Core": "sing",
|
||||
"EnableProxyProtocol": true,
|
||||
"EnableTFO": true,
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"Core": "xray",
|
||||
"ApiHost": "http://127.0.0.1",
|
||||
"ApiKey": "test",
|
||||
"NodeID": 33,
|
||||
"NodeType": "shadowsocks",
|
||||
"Timeout": 30,
|
||||
"RuleListPath": "",
|
||||
"ListenIP": "0.0.0.0",
|
||||
"SendIP": "0.0.0.0",
|
||||
"EnableProxyProtocol": true,
|
||||
"EnableTFO": true,
|
||||
...
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user