From 83c66e7d5adc6d5e36d26860461eb8b11ca9a334 Mon Sep 17 00:00:00 2001 From: Roman Buryan Date: Wed, 23 Sep 2026 20:01:18 +0300 Subject: [PATCH] Add Xray VLESS+WS+TLS config (fallback from REALITY due to DPI blocking) --- vps/xray/README.md | 17 +++++++++++++++++ vps/xray/config.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 vps/xray/README.md create mode 100644 vps/xray/config.json diff --git a/vps/xray/README.md b/vps/xray/README.md new file mode 100644 index 0000000..b9a905f --- /dev/null +++ b/vps/xray/README.md @@ -0,0 +1,17 @@ +# Xray VLESS+WebSocket+TLS конфигурация + +## Архитектура +- Xray слушает на 127.0.0.1:10000 (локально) +- Nginx слушает на 0.0.0.0:443 (публично) +- Nginx проксирует /ray → Xray (WebSocket) + +## Параметры клиента +- Protocol: VLESS +- Port: 443 +- Transport: WebSocket +- Path: /ray +- Host/SNI: n8n.buryans.ru +- TLS: enabled + +## Генерация нового UUID +ssh root@193.233.210.184 "xray uuid" diff --git a/vps/xray/config.json b/vps/xray/config.json new file mode 100644 index 0000000..75f6ccb --- /dev/null +++ b/vps/xray/config.json @@ -0,0 +1,32 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "listen": "127.0.0.1", + "port": 10000, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "/ray" + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + } + ] +}