Xray-examples/VLESS-WSS-Nginx/server.json
alibij 3f7674acb3 Update server.json
fix problem in ubuntu 20 LTS to connect nginx
2023-01-27 23:14:46 -05:00

59 lines
974 B
JSON

{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1234 ,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "" // 填写你的 UUID
}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/Path2WS" // 填写你的 path
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "blocked"
}
]
}
}