mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 19:47:57 +08:00
🍉 Sync 2026-05-14 00:17:10
This commit is contained in:
1 parent
a15c25c73e
commit
78b1b97016
9 files changed
+28
-7
No files matched your search
@@ -226,7 +226,7 @@ function gen_outbound(flag, node, tag, proxy_table)
|
||||
enabled = true,
|
||||
disable_sni = (node.tls_disable_sni == "1") and true or false, --不要在 ClientHello 中发送服务器名称.
|
||||
server_name = node.tls_serverName, --用于验证返回证书上的主机名,除非设置不安全。它还包含在 ClientHello 中以支持虚拟主机,除非它是 IP 地址。
|
||||
insecure = (node.tls_allowInsecure == "1") and true or false, --接受任何服务器证书。
|
||||
insecure = node.tls_allowInsecure == "1" or (node.tls_pinSHA256 and node.tls_pinSHA256 ~= ""), --接受任何服务器证书。(兼顾 xray 的 pinnedPeerCertSha256 )
|
||||
alpn = alpn, --支持的应用层协议协商列表,按优先顺序排列。如果两个对等点都支持 ALPN,则选择的协议将是此列表中的一个,如果没有相互支持的协议则连接将失败。
|
||||
--min_version = "1.2",
|
||||
--max_version = "1.3",
|
||||
|
||||
Reference in new issue
Block a user