mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 16:13:56 +08:00
update 2026-10-06 22:40:04
This commit is contained in:
1 parent
daaa6d2406
commit
a2da411394
293 files changed
+113293
-167
No files matched your search
@@ -849,6 +849,13 @@ local function build_v2ray_mihomo_proxy(sid)
|
||||
proxy.cipher = get_server_field(sid, "encrypt_method_ss", "none")
|
||||
proxy.password = get_server_field(sid, "password", "")
|
||||
build_shadowsocks_plugin(proxy, sid)
|
||||
elseif protocol == "anytls" then
|
||||
proxy.type = "anytls"
|
||||
proxy.password = get_server_field(sid, "password", "")
|
||||
apply_trojan_tls_options(proxy, sid)
|
||||
proxy["idle-session-check-interval"] = number_or_nil(get_server_field(sid, "anytls_idle_session_check_interval", ""))
|
||||
proxy["idle-session-timeout"] = number_or_nil(get_server_field(sid, "anytls_idle_session_timeout", ""))
|
||||
proxy["min-idle-session"] = number_or_nil(get_server_field(sid, "anytls_min_idle_session", ""))
|
||||
elseif protocol == "hysteria2" then
|
||||
proxy.type = "hysteria2"
|
||||
proxy.password = get_server_field(sid, "hy2_auth", "")
|
||||
|
||||
Reference in new issue
Block a user