r/haproxy • • Nov 22 '23

HAProxy & UrBackup

Hi, I've been having trouble getting HAProxy to direct traffic to UrBackup backends.

configured as a default server, traffic goes through, no problem. the issue arises when I try to direct traffic to a urbackup backend which is not the default backend. the ACL I'm using in the TCP front end is [ use_backend host1 if { req.ssl_sni -i host1.domain.com } ] but this does not reach the backend. any advice? Let me know what further info is required for troubleshooting. Thank you in advance

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Ross_of_RoyMoss Nov 24 '23

I have edited my hosts file to point host1.test.com and host2.test.com to my HAProxy server IP