I need to contact applications through a socks or http proxy.

My current setup looks like this but only works when the Computer haproxy runs 
on has direct Internet connection (which is not the case in our datacenter, I 
tried this at home)

frontend main
 bind *:8000
 acl is_extweb1 path_beg -i /policies
 acl is_extweb2 path_beg -i /produkte
 use_backend externalweb1 if is_extweb1
 use_backend externalweb2 if is_extweb2 

backend externalweb1 
 server static www.google.com:80 check

backend externalweb2
 server static www.gmx.net:80 check

There is an SO post which addresses the same question and provides some more 
details:
https://stackoverflow.com/questions/47605766/use-haproxy-as-an-reverse-proxy-with-an-application-behind-internet-proxy

Reply via email to