Skip to content

Commit

Permalink
Create 2_v2ray_vless_config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lxhao61 committed Aug 14, 2022
1 parent a3b38e8 commit 379690f
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions v2ray(vless\vmess+h2c)+caddy/2_v2ray_vless_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"log": {
"loglevel": "warning",
"error": "/var/log/xray/error.log", //若使用v2ray,此处目录名称xray改成v2ray。
"access": "/var/log/xray/access.log" //若使用v2ray,此处目录名称xray改成v2ray。
},
"inbounds": [
{
"listen": "/dev/shm/vh2c.sock", //vless+h2c监听进程
"protocol": "vless",
"settings": {
"clients": [
{
"id": "048e0bf2-dd56-11e9-aa37-5600024c1d6a", //修改为自己的UUID
"email": "[email protected]"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "h2",
"security": "none",
"httpSettings": {
"path": "/SeuW56Es" //修改为自己的path
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"routing": {
"rules": [
{
"type": "field",
"protocol": [
"bittorrent"
],
"outboundTag": "blocked"
}
]
},
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
}
]
}

0 comments on commit 379690f

Please sign in to comment.