change default tg-ws-proxy port

This commit is contained in:
FUFSoB committed 2026-04-18 12:06:47 +05:00
1 parent 93e792f2e5
commit d6cbea79bf
3 files changed
+22 -26

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ services.proxy-suite = {
tgWsProxy = {
enable = true;
host = "127.0.0.1";
port = 1076;
port = 1443;
# Inline secret is convenient for testing, but ends up in the Nix store.
# For real use, prefer secretFile with a secret file.
secret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
+2 -2
View File
@@ -260,7 +260,7 @@ services.proxy-suite = {
dcIps = { };
enable = false;
host = "127.0.0.1";
port = 1076;
port = 1443;
secret = null;
secretFile = null;
};
@@ -3693,7 +3693,7 @@ WebSocket proxy\.
*Default:*
```nix
1076
1443
```
+19 -23
View File
@@ -20,29 +20,25 @@ in
example = "proxy-suite";
};
global.enable =
(mkEnableOption "passwordless proxy-ctl control over global proxy-suite units")
// {
default = true;
description = ''
Whether members of userControl.group may manage global
proxy-suite units without password prompts via commands like
`proxy-ctl tun on|off`, `proxy-ctl tproxy on|off`,
`proxy-ctl restart`, or `proxy-ctl subscription update`.
'';
};
global.enable = (mkEnableOption "passwordless proxy-ctl control over global proxy-suite units") // {
default = true;
description = ''
Whether members of userControl.group may manage global
proxy-suite units without password prompts via commands like
`proxy-ctl tun on|off`, `proxy-ctl tproxy on|off`,
`proxy-ctl restart`, or `proxy-ctl subscription update`.
'';
};
perApp.enable =
(mkEnableOption "passwordless proxy-ctl control over per-app routing helpers")
// {
default = true;
description = ''
Whether members of userControl.group may start and stop the
app-scoped backend units used by `proxy-ctl wrap ...` for
route = "tun", route = "tproxy", or route = "zapret" profiles
without password prompts.
'';
};
perApp.enable = (mkEnableOption "passwordless proxy-ctl control over per-app routing helpers") // {
default = true;
description = ''
Whether members of userControl.group may start and stop the
app-scoped backend units used by `proxy-ctl wrap ...` for
route = "tun", route = "tproxy", or route = "zapret" profiles
without password prompts.
'';
};
};
tray = {
@@ -75,7 +71,7 @@ in
port = mkOption {
type = types.port;
default = 1076;
default = 1443;
description = ''
TCP listen port for tg-ws-proxy.
Telegram clients connect to this endpoint when using the local MTProto