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
+6 -10

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ services.proxy-suite = {
tgWsProxy = { tgWsProxy = {
enable = true; enable = true;
host = "127.0.0.1"; host = "127.0.0.1";
port = 1076; port = 1443;
# Inline secret is convenient for testing, but ends up in the Nix store. # Inline secret is convenient for testing, but ends up in the Nix store.
# For real use, prefer secretFile with a secret file. # For real use, prefer secretFile with a secret file.
secret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; secret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
+2 -2
View File
@@ -260,7 +260,7 @@ services.proxy-suite = {
dcIps = { }; dcIps = { };
enable = false; enable = false;
host = "127.0.0.1"; host = "127.0.0.1";
port = 1076; port = 1443;
secret = null; secret = null;
secretFile = null; secretFile = null;
}; };
@@ -3693,7 +3693,7 @@ WebSocket proxy\.
*Default:* *Default:*
```nix ```nix
1076 1443
``` ```
+3 -7
View File
@@ -20,9 +20,7 @@ in
example = "proxy-suite"; example = "proxy-suite";
}; };
global.enable = global.enable = (mkEnableOption "passwordless proxy-ctl control over global proxy-suite units") // {
(mkEnableOption "passwordless proxy-ctl control over global proxy-suite units")
// {
default = true; default = true;
description = '' description = ''
Whether members of userControl.group may manage global Whether members of userControl.group may manage global
@@ -32,9 +30,7 @@ in
''; '';
}; };
perApp.enable = perApp.enable = (mkEnableOption "passwordless proxy-ctl control over per-app routing helpers") // {
(mkEnableOption "passwordless proxy-ctl control over per-app routing helpers")
// {
default = true; default = true;
description = '' description = ''
Whether members of userControl.group may start and stop the Whether members of userControl.group may start and stop the
@@ -75,7 +71,7 @@ in
port = mkOption { port = mkOption {
type = types.port; type = types.port;
default = 1076; default = 1443;
description = '' description = ''
TCP listen port for tg-ws-proxy. TCP listen port for tg-ws-proxy.
Telegram clients connect to this endpoint when using the local MTProto Telegram clients connect to this endpoint when using the local MTProto