mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 10:33:12 +00:00
9d40021c5b
* Simplify SplitHTTP further, and add Caddyfile * raise log level * enable udp --------- Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
47 lines
869 B
JSON
47 lines
869 B
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 10808,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "",
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "",
|
|
"encryption": "none"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "splithttp",
|
|
"splithttpSettings": {
|
|
"path": "/split"
|
|
},
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"serverName": ""
|
|
}
|
|
},
|
|
"tag": "proxy"
|
|
}
|
|
]
|
|
}
|
|
|