Hmm, thought I'd tried that, but it's working, thanks!

On 22 October 2015 at 13:24, Jarno Huuskonen <[email protected]> wrote:

> 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