mirror of
https://github.com/telemt/telemt.git
synced 2026-06-09 20:41:44 +03:00
fix double-hop highload config example
This commit is contained in:
@@ -129,9 +129,9 @@ frontend proxy_in
|
|||||||
backend telemt_backend
|
backend telemt_backend
|
||||||
option tcp-smart-connect
|
option tcp-smart-connect
|
||||||
# Send-Proxy-V2 to preserve Client IP for Telemt's internal logic
|
# Send-Proxy-V2 to preserve Client IP for Telemt's internal logic
|
||||||
server telemt_core 127.0.0.1:8443 maxconn 250000 send-proxy-v2 check inter 5s
|
server telemt_core 10.10.10.1:443 maxconn 250000 send-proxy-v2 check inter 5s
|
||||||
```
|
```
|
||||||
**Important**: Telemt must be configured to process the `PROXY` protocol on port `8443` for this chain to work and preserve client IPs.
|
**Important**: Telemt must be configured to process the `PROXY` protocol on port `443` for this chain to work and preserve client IPs.
|
||||||
|
|
||||||
---
|
---
|
||||||
## 5. Diagnostics & Monitoring
|
## 5. Diagnostics & Monitoring
|
||||||
|
|||||||
@@ -128,9 +128,9 @@ frontend proxy_in
|
|||||||
backend telemt_backend
|
backend telemt_backend
|
||||||
option tcp-smart-connect
|
option tcp-smart-connect
|
||||||
# Send-Proxy-V2 обязателен для сохранения IP клиента внутри внутренней логики Telemt
|
# Send-Proxy-V2 обязателен для сохранения IP клиента внутри внутренней логики Telemt
|
||||||
server telemt_core 127.0.0.1:8443 maxconn 250000 send-proxy-v2 check inter 5s
|
server telemt_core 10.10.10.1:443 maxconn 250000 send-proxy-v2 check inter 5s
|
||||||
```
|
```
|
||||||
**Важно**: Telemt должен быть настроен на обработку протокола `PROXY` на порту `8443`, чтобы получать оригинальные IP-адреса клиентов.
|
**Важно**: Telemt должен быть настроен на обработку протокола `PROXY` на порту `443`, чтобы получать оригинальные IP-адреса клиентов.
|
||||||
|
|
||||||
---
|
---
|
||||||
## 5. Диагностика
|
## 5. Диагностика
|
||||||
|
|||||||
Reference in New Issue
Block a user