« Linux : Haproxy » : différence entre les versions
De www.yakakliker.org
(Page créée avec « === Lien === https://www.aukfood.fr/mise-en-place-haproxy-2-8-sur-une-debian-12/ https://upcloud.com/resources/tutorials/haproxy-load-balancer-debian Catégorie:Haproxy Catégorie:Linux ») |
Aucun résumé des modifications |
||
(6 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
=== Exemple de configuration HAProxy en reverse http === | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | |||
=== Lien === | === 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://www.aukfood.fr/mise-en-place-haproxy-2-8-sur-une-debian-12/ | ||
Ligne 9 : | 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> | |||
<html> | |||
<a href="https://www.compteurdevisite.com" title="compteur web gratuit sans pub"><img src="https://counter6.optistats.ovh/private/compteurdevisite.php?c=b4epghealnwlf7wuq7gn3ygll9aywrfx" border="0" title="compteur web gratuit sans pub" alt="compteur web gratuit sans pub"></a> | |||
</html> |
Dernière version du 17 février 2025 à 17:52
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://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