« Linux : Haproxy » : différence entre les versions

De www.yakakliker.org
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 35 : Ligne 35 :
[[Catégorie:Haproxy]]
[[Catégorie:Haproxy]]
[[Catégorie:Linux]]
[[Catégorie:Linux]]
‎<html>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
  kofiWidgetOverlay.draw('yakakliker', {
    'type': 'floating-chat',
    'floating-chat.donateButton.text': 'Café',
    'floating-chat.donateButton.background-color': '#00b9fe',
    'floating-chat.donateButton.text-color': '#fff'
  });
</script>
‎</html>

Version du 21 janvier 2025 à 14:01

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