Sorry to plug my own piece of code here ... ExaProxy (on github) was designed for that use. However the documentation (or absence of) may discourage you ..
Thomas On 3 Jan 2014, at 21:16, Lukas Tribus <[email protected]> wrote: > Hi, > > >> Hi, this question is silly, but I use haproxy even on my laptop to >> split traffic, for example, there's a ACL to let some special domains >> go via remote proxy, and the default goes local proxy, I wonder is it >> possible to replace local proxy with haproxy, so I could have: " >> server default local:1080 " directly without creating a proxy by >> another tool. > > option http_proxy [1] is probably what you are looking for, but be advised > that it doesn't lookup any hostnames automatically, and its not something > haproxy was really made for, so YMMV. > > > Regards, > > Lukas > > > [1] > http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-option%20http_proxy > >
signature.asc
Description: Message signed with OpenPGP using GPGMail

