wiki:proxy:haproxy:installation_config
This is an old revision of the document!
Table of Contents
Installation et configuration de base de HAProxy pour un reverse proxy simple
Installation (Debian12)
Simple package à installer sur le serveur.
sudo apt install haproxy
Configuration de base
La configuration de HAProxy se fait via le fichier de configuration haproxy.cfg situé à /etc/haproxy/haproxy.cfg
vim /etc/haproxy/haproxy.cfg
Test de la configuration
Tester la configuration avant de relancer haproxy pour eviter les erreurs.
haproxy -c -f /etc/haproxy/haproxy.cfg
Si tout est bon, relancer le service.
sudo systemctl restart haproxy
wiki/proxy/haproxy/installation_config.1741437392.txt.gz · Last modified: 2025/03/08 13:36 by hmattaliano