mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-21 02:58:45 +00:00
Пул CF worker: закрытие при остановке, OPTI, сборка, доки (#1411)
This commit is contained in:
1 parent
bf07b42f88
commit
c317406b52
11 files changed
+78
-20
No files matched your search
@@ -55,11 +55,12 @@ tg-ws-proxy [--port PORT] [--host HOST] [--dc-ip DC:IP ...] [-v]
|
||||
| `--no-secure` | `false` | Use 80 port for CF-proxy and CF-worker connections |
|
||||
| `--fake-tls-domain` | | Enable Fake TLS masquerading (ee-secret) with specified SNI domain |
|
||||
| `--proxy-protocol` | disabled | Accept HAProxy PROXY protocol v1 (for use behind nginx/haproxy with `proxy_protocol on`) |
|
||||
| `--force-test-dc` | `false` | Route all traffic to Telegram test DCs [Learn more](./TestDc.md) |
|
||||
| `--buf-kb` | `256` | Buffer size in KB |
|
||||
| `--pool-size` | `4` | Number of ready WS connections per DC. `0` disables the direct DC→IP WS route |
|
||||
| `--log-file` | disabled | Path to file for saving logs |
|
||||
| `--log-max-mb` | `5` | Maximum log file size in MB (afterwards overwrites) |
|
||||
| `--log-backups` | `0` | Number of log backups after overwrite |
|
||||
| `--log-backups` | `1` | Number of rotated log files to keep (minimum 1) |
|
||||
| `-v`, `--verbose` | disabled | Verbose logging (DEBUG) |
|
||||
|
||||
**Examples:**
|
||||
|
||||
@@ -18,13 +18,18 @@ The tray application stores data in:
|
||||
"verbose": false,
|
||||
"buf_kb": 256,
|
||||
"pool_size": 4,
|
||||
"log_max_mb": 5.0,
|
||||
"log_max_mb": 5,
|
||||
"check_updates": true,
|
||||
"cfproxy": true,
|
||||
"cfproxy_user_domain": "",
|
||||
"cfproxy_worker_domain": "",
|
||||
"h2": true,
|
||||
"cfproxy_user_domain_enabled": false,
|
||||
"cfproxy_user_domain": [],
|
||||
"cfproxy_worker_enabled": false,
|
||||
"cfproxy_worker_domain": [],
|
||||
"force_test_dc": false,
|
||||
"appearance": "auto"
|
||||
"no_secure": false,
|
||||
"appearance": "auto",
|
||||
"language": "en"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user