Sorry for i'm new in haproxy,there is my problem

            i wanna haproxy to proxy any non-http traffic.
            And there is my config about it

listen tcp-in
        bind 192.168.137.18:2222
        mode tcp
        tcp-request inspect-delay 5s
        tcp-request content accept if HTTP
        use_backend SquidClusters if HTTP
        default_backend Non-http if !HTTP


##default let any non-http traffic behave like's self,
backend Non-http
        mode tcp
        log global
        timeout server 1h
        server directserver 0.0.0.0


but it's doesn't work.
Is there any one help me?

Reply via email to