From 6836503ab6e762f771ee3c1d41505f209cd871ad Mon Sep 17 00:00:00 2001 From: Dugong <110967975+dugong-lewat@users.noreply.github.com> Date: Mon, 15 Jul 2024 20:39:56 +0700 Subject: [PATCH] Create VLESS-XTLS-Vision-Fallback-SplitHTTP I tried the reference from here [All-in-One-fallbacks-Nginx](https://github.com/XTLS/Xray-examples/tree/main/All-in-One-fallbacks-Nginx) and it worked, I don't know if it works for you or not. --- VLESS-XTLS-Vision-Fallback-SplitHTTP | 81 ++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 VLESS-XTLS-Vision-Fallback-SplitHTTP diff --git a/VLESS-XTLS-Vision-Fallback-SplitHTTP b/VLESS-XTLS-Vision-Fallback-SplitHTTP new file mode 100644 index 0000000..b06109c --- /dev/null +++ b/VLESS-XTLS-Vision-Fallback-SplitHTTP @@ -0,0 +1,81 @@ +{ + "inbounds": [ +// XTLS-RPRX-VISION + { + "listen": "::", + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "flow": "xtls-rprx-vision", + "id": "e331a460-ac69-40fa-b54b-83242b4dfbad" + } + ], + "decryption": "none", + "fallbacks": [ + { + // SplitHTTP + "name": "vlsh.yourdomain.com" + "alpn": "h2", + "dest": "1443" + } + ] + }, + "sniffing": { + "destOverride": [ + "http", + "tls" + ], + "enabled": true + }, + "streamSettings": { + "tlsSettings": { + "certificates": [ + { + "ocspStapling": 3600, + "certificateFile": "/usr/local/etc/xray/fullchain.cer", + "keyFile": "/usr/local/etc/xray/private.key" + } + ], + "minVersion": "1.2", + "cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "alpn": [ + "h2", + "http/1.1" + ] + }, + "network": "tcp", + "security": "tls" + } + }, +// VLESS SplitHTTP + { + "listen": "127.0.0.1", + "port": "1443", + "protocol": "vless", + "settings": { + "clients": [ + { + "email":"general@vless-sh", + "id": "e331a460-ac69-40fa-b54b-83242b4dfbad" + } + ], + "decryption": "none" + }, + "sniffing": { + "destOverride": [ + "http", + "tls" + ], + "enabled": true + }, + "streamSettings": { + "network": "splithttp", + "splithttpSettings": { + "path": "/vlsh" + } + } + } + ] +}