An application on client (192.168.1.106
) is trying to access a service 192.168.1.10:8080
. A log entry from this request is below. I would like to configure haproxy to send that request directly to 192.168.1.10:8080
rather than using backend privoxy-back
.
I'm near certain I need to add an ACL to my haproxy configuration but I'm finding the documentation far too extensive for this particular issue. Some of the StackExchange posts below come close, but they are not quite what I'm looking for.
Can you please help me understand what must be done here?
Feb 9 07:21:24 localhost.localdomain haproxy[21851]: 192.168.1.106:49326
[09/Feb/2018:07:21:24.199] privoxy-front privoxy-back/proxy02 89/0/0/-1/91 -1
132 - - SD-- 129/129/129/128/0 0/0 "GET http://192.168.1.10:8080/ HTTP/1.1"
frontend privoxy-front
bind :8118
mode http
default_backend privoxy-back
backend privoxy-back
mode http
option forwardfor
server proxy01 192.168.20.62:8118 check backup
server proxy02 192.168.25.72:8118 check
These are the posts that I have already checked and didn't work.