diff --git a/by-uwu_net/subscription-templates/config.json b/by-uwu_net/subscription-templates/config.json new file mode 100644 index 0000000..c9b39ea --- /dev/null +++ b/by-uwu_net/subscription-templates/config.json @@ -0,0 +1,58 @@ +{ + "log": { + "loglevel": "info" + }, + "inbounds": [ + { + "tag": "VLESS HTTPUPGRADE TLS", + "port": "443", + "listen": "::", + "protocol": "vless", + "settings": { + "clients": [], + "decryption": "none" + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] + }, + "streamSettings": { + "network": "httpupgrade", + "security": "tls", + "tlsSettings": { + "minVersion": "1.2", + "serverName": "#ВАШ-ДОМЕН-ОТ-SSL-СЕРТ", + "certificates": [ + { + "keyFile": "#ПУТЬ-К-СЕРТИФИКАТУ-.key-И-В-ДОКЕРКОМПОС-УКАЗАЛИ-ПУТЬ", + "ocspStapling": 3600, + "certificateFile": "#ПУТЬ-К-СЕРТИФИКАТУ-.crt-И-В-ДОКЕРКОМПОС-УКАЗАЛИ-ПУТЬ" + } + ], + "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" + }, + "httpupgradeSettings": { + "host": "#ВАШ-ДОМЕН-ДЛЯ-httpupgrade", + "path": "/api/sub/#К-ПРИМЕРУ" + } + } + } + ], + "outbounds": [ + { + "tag": "DIRECT", + "protocol": "freedom" + }, + { + "tag": "BLOCK", + "protocol": "blackhole" + } + ], + "routing": { + "rules": [] + } +} diff --git a/xray-core-templates-list.json b/xray-core-templates-list.json index 748a830..ef12aeb 100644 --- a/xray-core-templates-list.json +++ b/xray-core-templates-list.json @@ -48,6 +48,12 @@ "author": "kastov", "type": "XRAY_JSON", "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-kastov/xray-core/example-trojan-ws-tls.json" + }, + { + "name": "Example VLESS-HTTPUPGRADE-TLS config", + "author": "UwU Net", + "type": "XRAY_JSON", + "url": "https://raw.githubusercontent.com/remnawave/templates/refs/heads/main/by-uwu_net/subscription-templates/config.json" } ] -} \ No newline at end of file +}