complete example

This commit is contained in:
Yuzuki616 2023-09-16 20:53:09 +08:00
parent 1b3e173a8a
commit 088fb8f848

View File

@ -4,7 +4,6 @@
// info, warn, error, none
"Level": "error",
//
"Output": ""
},
@ -12,10 +11,8 @@
{
// Core
"Type": "sing",
// Core
"Name": "sing1",
"Log": {
// SingBox log
@ -29,7 +26,6 @@
"Server": "time.apple.com",
"ServerPort": 0
},
// SingBoxSingBox
"OriginalPath": "/etc/V2bX/sing_origin.json"
},
@ -50,13 +46,10 @@
},
//
"AssetPath": "",
// DNS
"DnsConfigPath": "",
//
"RouteConfigPath": "",
//
"ConnectionConfig": {
// https://xtls.github.io/config/policy.html#levelpolicyobject
@ -69,10 +62,8 @@
"statsUserDownlink": false,
"bufferSize": 4
},
// Inbound
"InboundConfigPath": "",
// Outbound
"OutboundConfigPath": ""
}
@ -81,6 +72,7 @@
// Node
{
// 1
// sing
// Node便
//
@ -155,6 +147,7 @@
//
"ExpireTime": 60
}
},
@ -162,6 +155,7 @@
"CertConfig": {
// nonehttpdnsself
"CertMode": "none",
"RejectUnknownSni": false,
//
@ -188,40 +182,69 @@
{
//
"Include": "../example/config_full_node1.json",
}
/*,
{
// 2
// ApiConfig
"ApiConfig": {
"ApiHost": "http://127.0.0.1",
"ApiKey": "test",
"NodeID": 33,
"Timeout": 30,
},
// ControllerConfig
"Options": {
"Core": "sing",
"EnableProxyProtocol": true,
"EnableTFO": true
"DomainStrategy": "ipv4_only",
// More
}
},
{
// Xray
},
{
// xray
"Core": "xray",
"ApiHost": "http://127.0.0.1",
"ApiKey": "test",
"NodeID": 33,
"NodeType": "shadowsocks",
"Timeout": 30,
"ListenIP": "0.0.0.0",
"SendIP": "0.0.0.0",
"EnableProxyProtocol": true,
"EnableTFO": true
// More
}*/
"Core": "xray",
"ApiHost": "http://127.0.0.1",
"ApiKey": "test",
"NodeID": 33,
"NodeType": "shadowsocks",
"Timeout": 30,
"ListenIP": "0.0.0.0",
"SendIP": "0.0.0.0",
"EnableProxyProtocol": true,
"EnableTFO": true,
// sing
// DNS
"EnableDNS": false,
// DNSAsIsUseIPUseIPv4UseIPv6
"DNSType": "AsIs",
// udp over tcp
"EnableUot": false,
// IVCheck
"DisableIVCheck": false,
//
"DisableSniffing": false,
//
"EnableFallback": false,
//
"FallBackConfigs":{
// https://xtls.github.io/config/features/fallback.html#fallbackobject
"SNI": "",
"Alpn": "",
"Path": "",
"Dest": "",
"ProxyProtocolVer": 0,
}
},
{
// 2
// ApiConfig
"ApiConfig": {
"ApiHost": "http://127.0.0.1",
"ApiKey": "test",
"NodeID": 33,
"Timeout": 30,
},
// ControllerConfig
"Options": {
"Core": "sing",
"EnableProxyProtocol": true,
"EnableTFO": true,
"DomainStrategy": "ipv4_only",
// More
}
}
]
}