diff --git a/Dockerfile b/Dockerfile index f827d5c..1ba22dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:latest -ENV VER_XRAY 1.6.5 +ENV VER_XRAY 1.6.1 ENV VER_SO 2.5.20 ENV VER_NG 1.7.23 diff --git a/opt/user/others/config.json.in b/opt/user/others/config.json.in index 9607f7a..a9434fb 100644 --- a/opt/user/others/config.json.in +++ b/opt/user/others/config.json.in @@ -96,11 +96,10 @@ }, "streamSettings": { "network": "tcp", - "security": "tls", - "tlsSettings": { + "security": "xtls", + "xtlsSettings": { "serverName": "{{ FQDN }}", - "allowInsecure": false, - "fingerprint": "firefox" + "allowInsecure": false } } }, diff --git a/opt/xray/d2ray.json.in b/opt/xray/d2ray.json.in index 2f0db1d..11e5bd1 100644 --- a/opt/xray/d2ray.json.in +++ b/opt/xray/d2ray.json.in @@ -21,8 +21,8 @@ }, "streamSettings": { "network": "tcp", - "security": "tls", - "tlsSettings": { + "security": "xtls", + "xtlsSettings": { "certificates": [ { "certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem", @@ -30,13 +30,6 @@ } ] } - }, - "sniffing": { - "enabled": true, - "destOverride": [ - "http", - "tls" - ] } } ],