From 796ac78f05a37af8e2a9d677ef00f8d9a65f137f Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Sun, 23 Nov 2025 13:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4config=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + conf/config.json | 127 ----------------------------------------------- 2 files changed, 1 insertion(+), 127 deletions(-) delete mode 100644 conf/config.json diff --git a/.gitignore b/.gitignore index 1db3ed3..b3b6ea1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ conf/key.txt +conf/config.json log/* diff --git a/conf/config.json b/conf/config.json deleted file mode 100644 index 35ce013..0000000 --- a/conf/config.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "log": { - "loglevel": "error", - "access": "/var/log/xray/access.log", - "error": "/var/log/xray/error.log" - }, - "api": { - "tag": "api", - "services": [ - "HandlerService", - "LoggerService", - "StatsService" - ] - }, - "stats": {}, - "policy": { - "levels": { - "0": { - "statsUserUplink": true, - "statsUserDownlink": true - } - }, - "system": { - "statsInboundUplink": true, - "statsInboundDownlink": true, - "statsOutboundUplink": true, - "statsOutboundDownlink": true - } - }, - "dns": { - "servers": [ - "https+local://cloudflare-dns.com/dns-query", - "1.1.1.1", - "1.0.0.1", - "8.8.8.8", - "8.8.4.4", - "localhost" - ] - }, - "inbounds": [ - { - "listen": "0.0.0.0", - "port": 8003, - "protocol": "vless", - "settings": { - "clients": [ - { - "id": "你的UUID", - "flow": "xtls-rprx-vision" - } - ], - "decryption": "none" - }, - "streamSettings": { - "network": "tcp", - "security": "reality", - "realitySettings": { - "show": true, - "dest": "你的reality_dest:443", - "xver": 0, - "maxTimeDiff": 0, - "minClientVer": "", - "serverNames": [ - "你的reality_dest" - ], - "privateKey": "你的密钥", - "shortIds": [ - "" - ] - } - }, - "sniffing": { - "enabled": true, - "destOverride": [ - "http", - "tls" - ] - } - } - ], - "outbounds": [ - { - "protocol": "freedom", - "tag": "direct" - }, - { - "protocol": "blackhole", - "tag": "blocked" - } - ], - "routing": { - "domainStrategy": "IPIfNonMatch", - "rules": [ - { - "inboundTag": [ - "api" - ], - "outboundTag": "api", - "type": "field" - }, - { - "domain": [ - "domain:iqiyi.com", - "domain:video.qq.com", - "domain:youku.com" - ], - "type": "field", - "outboundTag": "blocked" - }, - { - "type": "field", - "ip": [ - "geoip:cn", - "geoip:private" - ], - "outboundTag": "blocked" - }, - { - "protocol": [ - "bittorrent" - ], - "type": "field", - "outboundTag": "blocked" - } - ] - } -} \ No newline at end of file