guanghulab/server/proxy/config/xray-config-template.json
Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

120 lines
2.5 KiB
JSON

{
"_comment": "铸渊专线 · Xray服务端配置模板",
"_note": "⚠️ {{占位符}}在部署时由脚本替换为实际值",
"_architecture": "Xray监听443端口·非VLESS流量回落到www.microsoft.com:443(Reality反探测伪装)·VPN与网站HTTP(80端口)共存",
"_copyright": "国作登字-2026-A-00037559",
"log": {
"loglevel": "warning",
"access": "/opt/zhuyuan/proxy/logs/access.log",
"error": "/opt/zhuyuan/proxy/logs/error.log"
},
"dns": {
"servers": [
"8.8.8.8",
"1.1.1.1",
"localhost"
]
},
"stats": {},
"api": {
"tag": "api",
"services": [
"StatsService"
]
},
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundUplink": true,
"statsInboundDownlink": true,
"statsOutboundUplink": true,
"statsOutboundDownlink": true
}
},
"inbounds": [
{
"tag": "zy-vless-reality",
"listen": "0.0.0.0",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "{{ZY_PROXY_UUID}}",
"flow": "xtls-rprx-vision",
"email": "bingshuo@zy-proxy"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "www.microsoft.com:443",
"xver": 0,
"serverNames": [
"www.microsoft.com",
"www.amazon.com"
],
"privateKey": "{{ZY_PROXY_REALITY_PRIVATE_KEY}}",
"shortIds": [
"{{ZY_PROXY_REALITY_SHORT_ID}}"
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
}
},
{
"tag": "api-in",
"port": 10085,
"listen": "127.0.0.1",
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"api-in"
],
"outboundTag": "api"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
}
}