« Haproxy : Reverse Proxy Tcp » : différence entre les versions
De www.yakakliker.org
(Page créée avec « Dans certains cas, le reverse proxy Tcp s'impose. Voici la configuration type <syntaxhighlight lang="bash"> frontend MonTCP mode tcp bind *:3306 default_backend TSE backend TSE mode tcp balance leastconn server S1 192.168.1.50:3306 check server S2 192.168.2.50:3306 check stick-table type ip size 1m expire 30m </syntaxhighlight> === Lien === https://www.haproxy.com/documentation/haproxy-configuration-tutorials/load-... ») |
Aucun résumé des modifications |
||
Ligne 22 : | Ligne 22 : | ||
https://discourse.haproxy.org/t/haproxy-forwarding-https-ok-tcp-not-ok-please-help/3872/5 | https://discourse.haproxy.org/t/haproxy-forwarding-https-ok-tcp-not-ok-please-help/3872/5 | ||
https://www.haproxy.com/blog/introduction-to-haproxy-stick-tables | |||
https://www.haproxy.com/documentation/haproxy-configuration-tutorials/core-concepts/stick-tables/ | |||
[[Catégorie:Haproxy]] | [[Catégorie:Haproxy]] |
Version du 27 mai 2024 à 16:23
Dans certains cas, le reverse proxy Tcp s'impose. Voici la configuration type
frontend MonTCP
mode tcp
bind *:3306
default_backend TSE
backend TSE
mode tcp
balance leastconn
server S1 192.168.1.50:3306 check
server S2 192.168.2.50:3306 check
stick-table type ip size 1m expire 30m
Lien
https://www.haproxy.com/documentation/haproxy-configuration-tutorials/load-balancing/tcp/
https://discourse.haproxy.org/t/haproxy-forwarding-https-ok-tcp-not-ok-please-help/3872/5
https://www.haproxy.com/blog/introduction-to-haproxy-stick-tables
https://www.haproxy.com/documentation/haproxy-configuration-tutorials/core-concepts/stick-tables/