diff --git a/conf/template/xhttp_udp_config.json b/conf/template/xhttp_udp_config.json new file mode 100644 index 0000000..a3178d6 --- /dev/null +++ b/conf/template/xhttp_udp_config.json @@ -0,0 +1,46 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "listen": "0.0.0.0", + "port": 443, + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "YOUR-UUID-HERE", + "email": "user@example.com" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "xhttp", + "security": "tls", + "tlsSettings": { + "alpn": [ + "h3" + ], + "certificates": [ + { + "certificateFile": "/etc/xray/fullchain.pem", + "keyFile": "/etc/xray/private.key" + } + ] + }, + "xhttpSettings": { + "path": "/xhttp", + "mode": "auto" + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "tag": "direct" + } + ] +} \ No newline at end of file