mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-02 06:48:14 -05:00
fix example config notes
This commit is contained in:
parent
c3bb809c71
commit
24423d892c
@ -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",
|
||||||
// API密钥,即Token
|
// API密钥,即Token
|
||||||
"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",
|
||||||
|
Loading…
Reference in New Issue
Block a user