Re: stats question

2013-01-03 Thread Willy Tarreau
On Thu, Jan 03, 2013 at 10:29:46PM +0100, Baptiste wrote: > stats directives can only be setup into a backend section, which a > frontend is not by definition :) > stats directives can be setup in both backen and listen sections. Exactly. In practice, stats directive in frontend almost always work

Re: stats question

2013-01-03 Thread Baptiste
03, 2013 3:24 PM > To: DeMarco, Alex > Cc: haproxy@formilux.org > Subject: Re: stats question > > > > Hi Alex, > > > > configure your stat URL as usual, then you can protect it with an ACL: > > http-request allow if { path /stats } { src 123.456.789.99 } > &

RE: stats question

2013-01-03 Thread DeMarco, Alex
.com] Sent: Thursday, January 03, 2013 3:24 PM To: DeMarco, Alex Cc: haproxy@formilux.org Subject: Re: stats question Hi Alex, configure your stat URL as usual, then you can protect it with an ACL: http-request allow if { path /stats } { src 123.456.789.99 } http-request deny if { path /stats } cheers

Re: stats question

2013-01-03 Thread Baptiste
Hi Alex, configure your stat URL as usual, then you can protect it with an ACL: http-request allow if { path /stats } { src 123.456.789.99 } http-request deny if { path /stats } cheers On Thu, Jan 3, 2013 at 9:05 PM, DeMarco, Alex wrote: > 123.456.789.99