diff --git a/docs/FAQ.en.md b/docs/FAQ.en.md index 71d30f0..d59b313 100644 --- a/docs/FAQ.en.md +++ b/docs/FAQ.en.md @@ -282,7 +282,7 @@ To display a domain instead of an IP address in native `tg://proxy` links, add t public_host = "proxy.example.com" ``` -This setting, together with `public_port`, affects only native links. WEB `tg://webproxy` links always use `[[web.vhosts]].host` and external port `443`. +This setting, together with `public_port`, affects only native links. WEB `tg://webproxy` links always use the concrete hostname from `[[web.vhosts]].host` or `hosts` and external port `443`. ### Total server connection limit This parameter limits the total number of active connections to the server: @@ -292,6 +292,12 @@ This parameter limits the total number of active connections to the server: max_connections = 10000 ``` +The limit includes client sessions routed through ME. With `max_connections = 0`, +there is no separate ME session cap; operating-system resources and other configured +limits still apply. This parameter does not set the number of upstream ME TCP +writers. Changing it requires a process restart; a configuration reload is not +sufficient. See the [parameter reference](Config_params/CONFIG_PARAMS.en.md#max_connections). + ### Upstream Manager To configure outbound connections (upstreams), add the corresponding parameters to the `[[upstreams]]` section of the configuration file: diff --git a/docs/FAQ.ru.md b/docs/FAQ.ru.md index 3d0d1fc..3cddddb 100644 --- a/docs/FAQ.ru.md +++ b/docs/FAQ.ru.md @@ -295,6 +295,13 @@ public_host = "proxy.example.com" max_connections = 10000 ``` +Лимит распространяется и на клиентские сессии, работающие через ME. При +`max_connections = 0` отдельного ограничения числа сессий ME нет; ограничения +ресурсов ОС и остальные настроенные лимиты продолжают действовать. Этот параметр +не задаёт количество исходящих TCP-соединений пула ME. Для изменения нужен +перезапуск процесса: перечитывания конфигурации недостаточно. Подробнее — в +[справочнике параметров](Config_params/CONFIG_PARAMS.ru.md#max_connections). + ### Upstream Manager Для настройки исходящих подключений (Upstreams) добавьте соответствующие параметры в секцию `[[upstreams]]` файла конфигурации: