From 31a540126c73f31cdc9eae07c29f567b88213b52 Mon Sep 17 00:00:00 2001 From: adminalt Date: Mon, 14 Sep 2026 10:30:01 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20trojan-xhttp-tls.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trojan-xhttp-tls.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 trojan-xhttp-tls.json diff --git a/trojan-xhttp-tls.json b/trojan-xhttp-tls.json new file mode 100644 index 0000000..fe2e1a4 --- /dev/null +++ b/trojan-xhttp-tls.json @@ -0,0 +1,33 @@ +{ + "protocol": "trojan", + "settings": { + "clients": [{"password": "ДЛИННЫЙ_СЛУЧАЙНЫЙ_ПАРОЛЬ_32+"}], + "fallbacks": [ + {"dest": "80", "xver": 1} + ] + }, + "streamSettings": { + "network": "xhttp", + "security": "tls", + "xhttpSettings": { + "path": "/a8f3k2-secret-path/", + "mode": "packet-up", + "extra": { + "headers": { + "Host": "your-domain.com" + }, + "xPaddingBytes": "100-1000" + } + }, + "tlsSettings": { + "minVersion": "1.3", + "serverName": "your-domain.com", + "alpn": ["h2", "http/1.1"], + "fingerprint": "chrome", + "certificates": [{ + "certificateFile": "/etc/letsencrypt/live/your-domain.com/fullchain.pem", + "keyFile": "/etc/letsencrypt/live/your-domain.com/privkey.pem" + }] + } + } +} \ No newline at end of file