From 844701a7f93f9ec61bc7cbe7e32f5f42470a4d11 Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Thu, 3 Feb 2022 15:42:29 +0100 Subject: [PATCH] =?UTF-8?q?Check=20config=20dans=20une=20section=20d=C3=A9?= =?UTF-8?q?di=C3=A9e=20(plus=20facile=20=C3=A0=20trouver)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoHaproxy.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HowtoHaproxy.md b/HowtoHaproxy.md index 54abe86f..946a8dd9 100644 --- a/HowtoHaproxy.md +++ b/HowtoHaproxy.md @@ -40,12 +40,16 @@ Pour `rsyslog` cela se fait ainsi dans `rsyslog.conf` : local5.* -/var/log/haproxy.log ~~~ + +### Checker la configuration + On vérifie qu'il n'y a pas d'erreur de syntaxes : ~~~ haproxy -c -V -f /etc/haproxy/haproxy.cfg ~~~ + ## Configuration avancée ### Exemple d'une configuration avec frontend/backend HTTP