Linux : Haproxy

De www.yakakliker.org

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


Lien

https://www.haproxy.org/

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


compteur web gratuit sans pub