HAProxy community

HAproxy serves content from default backend

Hi,
my proxy always serves content from default backend.
This is my cfg:

frontend oracle_front

    bind *:1521
    option tcplog
    mode tcp

    #ACL
    acl host1 hdr(host) -i oracle1.mysite.it

    #Backend
    use_backend host1_1521 if host1

    default_backend dboracle_back

backend host1_1521
    mode tcp
    balance source
    server oracle1 192.168.1.115:1521 check

backend dboracle_back
    mode tcp
    balance source
    server oracle1 192.168.1.113:1521 check

Hi, thank you!
I tried your solution but it doesn’t work. Probably I have to use tcp mode: My proxy serves oracle database service on port 1521!