diff --git a/opt/user/others/config.json.in b/opt/user/others/config.json.in index 630c1da..d6f72f2 100644 --- a/opt/user/others/config.json.in +++ b/opt/user/others/config.json.in @@ -70,7 +70,8 @@ "destOverride": ["http", "tls"] }, "settings": { - "udp": true + "auth": "noauth", + "udp": false } } ], @@ -99,7 +100,8 @@ "tlsSettings": { "serverName": "{{ FQDN }}", "allowInsecure": false, - "fingerprint": "safari" + "fingerprint": "safari", + "alpn": ["h2","http/1.1"] } } }, diff --git a/opt/xray/d2ray.json.in b/opt/xray/d2ray.json.in index 1c4a23d..7d9bb64 100644 --- a/opt/xray/d2ray.json.in +++ b/opt/xray/d2ray.json.in @@ -23,6 +23,7 @@ "network": "tcp", "security": "tls", "tlsSettings": { + "alpn": ["http/1.1", "h2"], "certificates": [ { "certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem",