Hi all,

first I'm a newbie to HaProxy and second I've tried to find the information
I'm looking for for the last 3h now. So if it is out there in the
documentation, please point me to the place.

What I try to do is to have a weighted roundrobin to 2 apps on heroku.
Heroku insist on getting the Host name in the reuqets.
So when doing a backend config like:

   reqrep ^Host:\ (.*) Host:\ foxydeal-product-search-st.herokuapp.com

    server sd-api-v20 foxydeal-product-search-st.herokuapp.com:80 check
resolvers google-dns weight 90
    server fd-api-v20 foxydeal-api-staging.herokuapp.com:80 check resolvers
google-dns weight 10


it fails when sending the request to  foxydeal-api-staging.herokuapp.com.

Any clues on how to solve this?

Thanks in advance & best
Mark

Reply via email to