fix: remove tgwsproxy keepalive option - removed from upstream

This commit is contained in:
FUFSoB committed 2026-06-29 22:29:28 +05:00
1 parent 89fbff9eb1
commit 5b185114b6
4 files changed
+1 -61

No files matched your search

-10
View File
@@ -243,16 +243,6 @@ in
example = true;
};
wsKeepalive = mkOption {
type = types.numbers.nonnegative;
default = 30.0;
description = ''
Seconds between upstream WebSocket keepalive pings.
Set to 0 to disable keepalive pings.
'';
example = 15.0;
};
bypassTransparentProxy = mkOption {
type = types.bool;
default = true;
+1 -1
View File
@@ -44,7 +44,7 @@ let
mkFlagArg (!t.cfProxyFallback) "--no-cfproxy"
}${
mkOptionalValueArg (t.fakeTlsDomain != null) "--fake-tls-domain" t.fakeTlsDomain
}${mkFlagArg t.proxyProtocol "--proxy-protocol"}${mkRawValueArg "--ws-keepalive" t.wsKeepalive}
}${mkFlagArg t.proxyProtocol "--proxy-protocol"}
exec ${tgPkg}/bin/tg-ws-proxy "''${args[@]}"
'';