Xray-examples/VLESS+WSS+Nginx/server.json
2022-08-29 23:17:11 +08:00

50 lines
851 B
JSON

{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "/dev/shm/Xray-VLESS-WSS-Nginx.socket,0666",
"protocol": "vless",
"settings": {
"clients": [
{
"id": "" // 填写你的 UUID
}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "" // 填写你的 path
}
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
}
]
}
}