Hi,

On Thu, Oct 22, SL wrote:
> I couldn't get my original stats config to work (currently just removed).
> Can anyone suggest how I should update this please?:
> 
> listen stats :1234
>        stats auth xxxxx:xxxxx
>        stats uri /
>        stats realm Haproxy\ Statistics
>        stats hide-version
>        stats enable
>        mode http

Did you try:

listen stats
  bind :1234
  ...

And how it doesn't work ? Any errors etc. ?

-Jarno

> > Incompabilities :
> > - you can't specify [<ip>]:<port> on a "listen"/"frontend" line, you'll
> > have to explicitly specify a "bind" line inside the section.
> >
> > Example :
> >   listen test :80
> > must be written as :
> >   listen test
> >     bind :80
> >
> > Warning displayed :
> >   [ALERT] ... 'listen' cannot handle unexpected argument ':80'.
> >   [ALERT] ... please use the 'bind' keyword for listening addresses

-- 
Jarno Huuskonen

Reply via email to