Browse Source

luci-app-ssr-plus: workaround xtls bug

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 3 years ago
parent
commit
483ef9e87a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua

+ 2 - 1
luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua

@@ -173,7 +173,8 @@ local Xray = {
 			xtlsSettings = (server.xtls == '1' and (server.insecure == "1" or server.tls_host)) and {
 				-- xtls
 				allowInsecure = (server.insecure == "1") and true or nil,
-				serverName = server.tls_host
+				serverName = server.tls_host,
+				minVersion = "1.3"
 			} or nil,
 			tcpSettings = (server.transport == "tcp" and server.tcp_guise == "http") and {
 				-- tcp