mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-09 21:47:59 +08:00
🍉 Sync 2026-05-26 21:02:29
This commit is contained in:
1 parent
9d8ff233fa
commit
997c127ca1
9 files changed
+142
-7
No files matched your search
@@ -66,10 +66,10 @@ local function build_common(node)
|
||||
|
||||
local ech_opts = node["ech-opts"]
|
||||
if ech_opts and ech_opts.enable == true then
|
||||
if ech_opts.config then
|
||||
o.tls.ech = ech_opts.config
|
||||
elseif ech_opts["query-server-name"] then
|
||||
if ech_opts["query-server-name"] then
|
||||
o.tls.ech = ech_opts["query-server-name"] .. "+https://223.5.5.5/dns-query"
|
||||
elseif ech_opts.config then
|
||||
o.tls.ech = ech_opts.config
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user