# Help me to configurations backend with proxy server

**URL:** https://discourse.haproxy.org/t/help-me-to-configurations-backend-with-proxy-server/4138
**Category:** Help!
**Created:** [August 2, 2019, 9:01am UTC](https://discourse.haproxy.org/t/help-me-to-configurations-backend-with-proxy-server/4138 "2019-08-02T09:01:58Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)
#### Post date: [August 6, 2019, 7:54am UTC](https://discourse.haproxy.org/t/help-me-to-configurations-backend-with-proxy-server/4138/4 "2019-08-06T07:54:58Z")

</div>

See:

> [@Helathcheck on multiple backends with virtual hostnames](https://discourse.haproxy.org/t/helathcheck-on-multiple-backends-with-virtual-hostnames/2413):
>
> I have 2 backends which are running on two different virtual host names and need to perform healthchecks on them to loadbalance the traffic. issue is : only the last healthcheck (prd03) works , not prd02. How I can do healthcheck against 2 virtual hostnames? here is my config: backend xxxx.searchCustomer mode http balance roundrobin option httpchk GET /env HTTP/1.1\r\nHost:\ [customerlookup.xxx.px-prd02.cf.xxxx.com:443](http://customerlookup.xxx.px-prd02.cf.xxxx.com:443)\r\n option httpchk GET /env HTTP/1.1\r\nHost:\ [customerlookup.xxx.px-p…](http://customerlookup.xxx.px-prd03.cf.xxxx.com:443)

> [@Send real Host header in httpchk requests](https://discourse.haproxy.org/t/send-real-host-header-in-httpchk-requests/3073):
>
> Hi, folks! Is there is a way to send real backend address as a Host header in the httpchk requests? We are currently using HTTP 1.0, but would like to switch to HTTP 1.1 and sending meaningful Host header is a mast in your case. Here is our current backend section of the config: backend apiservers balance leastconn mode http option httpchk GET /healthz HTTP/1.0\r\nAuthorization:\ Bearer\ SOME\_TOKEN\_HERE http-check disable…

---

_[View the full topic](https://discourse.haproxy.org/t/help-me-to-configurations-backend-with-proxy-server/4138)._
