Answer the question
In order to leave comments, you need to log in
How to make a redirect in haproxy?
Hello!
There is an exchange server with a haproxy balancer. Now migrating to the new version.
You need to make a filter on the http header for OWA, if one address is on backend 1, if another address is on backend 2.
I don’t really understand how to do it in the current config - made in the image and likeness - https://www.haproxy.com /static/media/uploads/eng/r...
Answer the question
In order to leave comments, you need to log in
The general algorithm is as follows:
1. write different backends for each version of the exchange - backends look at their version
2. write acl according to the headers you need
3. write use_backend be_newservers if acl_newservers - to new servers
default_backend old_servers
Always focus on the configuration of your version of HAProxy
https:/ /cbonte.github.io/haproxy-dconv/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question