mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-16 06:11:00 +01:00
[DOC] Make the status listener example complete.
The example for configuration of "Status report in HTML page" in haproxy-en.txt/haproxy-fr.txt is incomplete. Gives me the below error, and had me scratching my head a bit :-) [ALERT] 074/131807 (26359) : parsing /etc/haproxy/haproxy.cfg : listener stats has no dispatch address and is not in transparent or balance mode. [ALERT] 074/131807 (26359) : Errors found in configuration file, aborting. [ALERT] 074/131807 (26359) : Error reading configuration file : /etc/haproxy/haproxy.cfg If adding "balance roundrobin" to the stats stanza is the right fix, please apply the attached documentation patch to haproxy v1.2 and v1.3. [w@1wt.eu: this is the right fix up to 1.3.15, not needed in 1.3.16]
This commit is contained in:
parent
b376f0163e
commit
dad07a8612
@ -2586,6 +2586,7 @@ Example :
|
||||
listen stats :8080
|
||||
mode http
|
||||
stats uri /
|
||||
balance roundrobin
|
||||
|
||||
The "stats auth <user:password>" option enables Basic authentication and adds a
|
||||
valid user:password combination to the list of authorized accounts. The user
|
||||
|
||||
@ -2640,6 +2640,7 @@ Example :
|
||||
listen stats :8080
|
||||
mode http
|
||||
stats uri /
|
||||
balance roundrobin
|
||||
|
||||
|
||||
L'option "stats auth <user:password>" active l'authentification "Basic" et
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user