« Linux : Haproxy » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 20 : | Ligne 20 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Installations complémentaires === | |||
* haproxyctl | |||
* hatop | |||
* rsyslog | |||
* socat | |||
=== Liens === | |||
https://www.claudiokuenzler.com/blog/1240/haproxy-how-to-disable-enable-backend-server-command-line-cli-socket | |||
https://www.haproxy.org/ | https://www.haproxy.org/ | ||
Dernière version du 4 juin 2025 à 15:16
Exemple de configuration HAProxy en reverse http
frontend yakakliker
bind *:80
mode http
option httplog
acl yaka_acl hdr(host) www.yakakliker.org
use_backend backend1 if yaka_acl
backend backend1
mode http
balance source
option httpchk
option forwardfor except 127.0.0.1
http-request add-header X-Forwarded-Proto https if { ssl_fc }
server web-server1 192.168.XXX.XXX:80 maxconn 32
Installations complémentaires
- haproxyctl
- hatop
- rsyslog
- socat
Liens
https://wiki.maxcorp.org/configurer-un-reverse-proxy-avec-haproxy-http-https/
https://haproxy.debian.net/#distribution=Ubuntu&release=jammy&version=2.8
https://www.aukfood.fr/mise-en-place-haproxy-2-8-sur-une-debian-12/
https://upcloud.com/resources/tutorials/haproxy-load-balancer-debian