Hi,
I noticed a small typo in the configuration doc, section peers. Besides
the doc fix, I think the error message could be improved: it seems that
peers line inside a peers section is illegal, so it should be detected
as such. I got instead some error related to missing local peer information.
cheers,
David
>From 9691cbf1ae2bf6936a5181c43672a6a176ad7211 Mon Sep 17 00:00:00 2001
From: David Cournapeau <[email protected]>
Date: Thu, 16 Dec 2010 10:00:09 +0900
Subject: [PATCH] [DOC] fix typo in peer configuration example.
---
doc/configuration.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/configuration.txt b/doc/configuration.txt
index a15b035..e376b55 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -843,9 +843,9 @@ peer <peername> <ip>:<port>
Example:
peers mypeers
- peers haproxy1 192.168.0.1:1024
- peers haproxy2 192.168.0.2:1024
- peers haproxy3 10.2.0.1:1024
+ peer haproxy1 192.168.0.1:1024
+ peer haproxy2 192.168.0.2:1024
+ peer haproxy3 10.2.0.1:1024
backend mybackend
mode tcp
--
1.7.3.2