mirror of
https://github.com/telemt/telemt.git
synced 2026-06-30 06:41:11 +03:00
Compare commits
3 Commits
3.3.19
...
95c1306166
| Author | SHA1 | Date | |
|---|---|---|---|
| 95c1306166 | |||
| e1ef192c10 | |||
| ee4d15fed6 |
@@ -83,6 +83,13 @@ To specify a domain in the links, add to the `[general.links]` section of the co
|
|||||||
public_host = "proxy.example.com"
|
public_host = "proxy.example.com"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Server connection limit
|
||||||
|
Limits the total number of open connections to the server:
|
||||||
|
```toml
|
||||||
|
[server]
|
||||||
|
max_connections = 10000 # 0 - unlimited, 10000 - default
|
||||||
|
```
|
||||||
|
|
||||||
### Upstream Manager
|
### Upstream Manager
|
||||||
To specify an upstream, add to the `[[upstreams]]` section of the config.toml file:
|
To specify an upstream, add to the `[[upstreams]]` section of the config.toml file:
|
||||||
#### Binding to IP
|
#### Binding to IP
|
||||||
|
|||||||
@@ -83,6 +83,13 @@ metrics_whitelist = ["127.0.0.1/32", "::1/128", "0.0.0.0/0"]
|
|||||||
public_host = "proxy.example.com"
|
public_host = "proxy.example.com"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Общий лимит подключений к серверу
|
||||||
|
Ограничивает общее число открытых подключений к серверу:
|
||||||
|
```toml
|
||||||
|
[server]
|
||||||
|
max_connections = 10000 # 0 - unlimited, 10000 - default
|
||||||
|
```
|
||||||
|
|
||||||
### Upstream Manager
|
### Upstream Manager
|
||||||
Чтобы указать апстрим, добавьте в секцию `[[upstreams]]` файла config.toml:
|
Чтобы указать апстрим, добавьте в секцию `[[upstreams]]` файла config.toml:
|
||||||
#### Привязка к IP
|
#### Привязка к IP
|
||||||
@@ -113,3 +120,4 @@ password = "pass" # Password for Auth on SOCKS-server
|
|||||||
weight = 1 # Set Weight for Scenarios
|
weight = 1 # Set Weight for Scenarios
|
||||||
enabled = true
|
enabled = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user