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
                                    

Reply via email to