fix: remove tgwsproxy keepalive option - removed from upstream
This commit is contained in:
4 files changed
+1
-61
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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[@]}"
|
||||
'';
|
||||
|
||||
|
||||
Reference in new issue
Block a user