{ "inbounds": [ { "port": 443, "protocol": "vless", "settings": { "clients": [ ], "decryption": "none" }, "sniffing": { "destOverride": [ "http", "tls" ], "enabled": true }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/ws" } }, "tag": "vless_tls" }, { "listen": "127.0.0.1", "port": 8080, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" }, "tag": "api" } ], "log": { "loglevel": "info", "access": "/logs/xray" }, "outbounds": [ { "protocol": "freedom", "tag": "direct" }, { "protocol": "blackhole", "tag": "block" } ], "routing": { "domainStrategy": "AsIs", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" } ] }, "stats": {}, "api": { "services": [ "StatsService" ], "tag": "api" }, "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundUplink": true, "statsInboundDownlink": true, "statsOutboundUplink": true, "statsOutboundDownlink": true } } }