mirror of
https://github.com/TheyCallMeSecond/sing-box-manager.git
synced 2024-11-16 19:56:10 +08:00
39 lines
802 B
JSON
39 lines
802 B
JSON
{
|
|
"log": {
|
|
"level": "info",
|
|
"timestamp": true
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "mixed",
|
|
"tag": "mixed-in",
|
|
"listen": "::",
|
|
"listen_port": 1080
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "trojan",
|
|
"tag": "trojan-out",
|
|
"server": "domain.com", //域名
|
|
"server_port": 10080, //监听端口
|
|
"password": "6rhtzm1p7dx7", 密码
|
|
"network": "tcp",
|
|
"multiplex": {
|
|
"enabled": true,
|
|
"protocol": "smux",
|
|
"max_connections": 4,
|
|
"min_streams": 4,
|
|
"max_streams": 0
|
|
},
|
|
"tls": {
|
|
"enabled": true,
|
|
"server_name": "domain.com", //域名
|
|
"alpn": [
|
|
"h2",
|
|
"http/1.1"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |