ws2bhhh c1c8b779f9
Update server.json
与Caddyfile中定义不一致,并给出了可能的设置
2023-02-04 23:45:45 +08:00

50 lines
928 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "/dev/shm/Xray-VLESS-gRPC.socket", # Xray-VLESS-gRPC.socket 0666
"protocol": "vless",
"settings": {
"clients": [
{
"id": "" # UUID
}
],
"decryption": "none"
},
"streamSettings": {
"network": "grpc",
"grpcSettings": {
"serviceName": "" # ServiceName
}
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
}
]
}
}