mirror of
https://github.com/TheyCallMeSecond/sing-box-manager.git
synced 2024-11-16 19:56:10 +08:00
36 lines
743 B
JSON
36 lines
743 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": 10081, //监听端口
|
|
"password": "zrrildqo8ibt", //密码
|
|
"network": "tcp",
|
|
"transport": {
|
|
"type": "ws",
|
|
"path": "/QVqXZzJb" //ws路径
|
|
},
|
|
"tls": {
|
|
"enabled": true,
|
|
"server_name": "domain.com", //域名
|
|
"alpn": [
|
|
"h2",
|
|
"http/1.1"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |