On 7 July 2012 15:09, Willy Tarreau <[email protected]> wrote: > On Sat, Jul 07, 2012 at 01:22:01PM +0100, Jonathan Matthews wrote: >> Willy - how is this actually configured? I'm assuming you don't mean >> by using 2 separate instances ... > > It's like I suggested at the end of previous mail : > > defaults http > mode http > timeout client/server/connect ... > log ... > option httplog ... > > listen http1 > ... > > defaults tcp > mode tcp > timeout client/server/connect ... > log ... > option tcplog ... > > listen tcp1 > ... > > Since each defaults section replaces the previous one for subsequent > sections, it's quite easy in fact.
Ah, I see! I had thought that the "defaults http" name was a specific HTTP-related marker or something like that. I'd not grok'd that this behaviour is just an outcome of the stanza ordering and defaults sections overriding each other. Thanks Willy :-) -- Jonathan Matthews Oxford, London, UK http://www.jpluscplusm.com/contact.html

