On Mon, Jun 04, 2012 at 01:13:31PM -0700, Cord MacLeod wrote:
> Just got around to attempting this, it appears not to work with SSL.  Is 
> there any other option (stunnel breaks a lot and doesn't support 1 off 
> connections)?
> 
>  * Reloading haproxy haproxy                                                  
>                                             [WARNING] 155/201028 (3442) : 
> config : 'stats' statement ignored for proxy 'ssl-relay' as it requires HTTP 
> mode.

That's expected since your SSL instance works in TCP mode. The "stats uri"
statement must be in an HTTP instance (use a dedicated port as most people
do, it looks like a waste at first but it's very convenient in the long run).

Also the "stats socket" in the global section allows you much more fun, as
you can connect there to get stats, change weights, start/stop servers,
kill server connections, etc...

Regards,
Willy


Reply via email to