Forward response

Hi. I’m trying forward response from outside service to internal server. I’m using haProxy for this issue. But i don’t know, what i’m doing bad. Response going to public endpoint in DMZ and i need to forward it to internal server.

Here’s my config:

frontend api-in-80
    bind *:80
    acl api_callback_host hdr(host) -i public.endopoint.com

    use_backend cb-api if api_callback_host

    default_backend api-servers-def


backend api-servers-def
    mode http
    stats enable
    stats uri /haproxy?stats
    stats realm API-Proxy\Stats

    balance roundrobin
    option httpclose
    option forwardfor

    server api-web-def 127.0.0.1:8066 check maxconn 6

backend cb-api
    mode http

    balance roundrobin
    option httpclose
    option forwardfor

    option httpchk get /api/v1/test
    server cb-api 10.x.x.x:1234 check maxconn 9

Thanks for your help/