mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
support include other config file
This commit is contained in:
@@ -62,12 +62,16 @@
|
||||
"EnableProxyProtocol": false,
|
||||
// 开启 TCP Fast Open
|
||||
"EnableTFO": true,
|
||||
|
||||
// 设置 Domain Strategy
|
||||
// 可选 prefer_ipv4 / prefer_ipv6 / ipv4_only / ipv6_only
|
||||
"DomainStrategy": "ipv4_only"
|
||||
|
||||
// More
|
||||
},
|
||||
{
|
||||
// 引用其他配置文件
|
||||
|
||||
"Include": "../example/config_node1.json"
|
||||
}
|
||||
/*,
|
||||
{
|
||||
|
||||
13
example/config_node1.json
Normal file
13
example/config_node1.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Core": "xray",
|
||||
"ApiHost": "https://127.0.0.1",
|
||||
"ApiKey": "key",
|
||||
"NodeID": 1,
|
||||
"NodeType": "vmess",
|
||||
"Timeout": 30,
|
||||
"ListenIP": "0.0.0.0",
|
||||
"SendIP": "0.0.0.0",
|
||||
"EnableProxyProtocol": false,
|
||||
"EnableTFO": true,
|
||||
"DomainStrategy": "ipv4_only"
|
||||
}
|
||||
Reference in New Issue
Block a user