Hello Baptiste,
We have access to some non-public networks. These networks are only accessible
via its own proxy server. So based on the IP-address the http-traffic must be
proxied to the correct proxy server.
I have realized the routing using squid:
cache_peer 172.16.0.1 parent 3128 0
I think I’ve found the issue. During test, I’m visiting a hostname
http://example/. But the acl condition req.hdr_ip(host) will only work if I
visit http://192.168.0.1/.
Is it possible to let haproxy resolve the domain name and then check the IP
address?
Op 29 mrt. 2015, om 14:04 heeft
Hello,
I’m trying to route http-requests based on destination IP address. I’ve got the
following configuration, but unfortunately its not working:
frontend proxy :3128
acl host_destip req.hdr_ip(host) 192.168.0.1
use_backend a if host_destip
default_backend b
I’m expecting
Hi,
No HAProxy won't do this.
Instead, if you could explain us clearly what is your problem, we may
be able to help you.
For now you just explain what you tried to achieve.
Baptiste
On Sun, Mar 29, 2015 at 3:33 PM, Abdelouahed Haitoute
ahaito...@rinis.nl wrote:
I think I've found the issue.
4 matches
Mail list logo