sorry forgot to add our config file :

global
    log         127.0.0.1 local0
    chroot      /var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    maxconn     4000
    stats socket    /tmp/haproxy level admin
    user        haproxy
    group       haproxy
    daemon

defaults
    mode        http
    log         global
    timeout connect 1000 # default 10 second time out if a backend is not found
    timeout client 20000
    timeout server 2000
    maxconn     60000
    retries     3
    option httpclose # Disable Keepalive
    option      httplog
listen pm 192.168.181.43:8080
#stats uri /haproxy
timeout http-request 10000
stats uri /haproxy
balance roundrobin # Load Balancing algorithm
option forwardfor header pm-forwarded # This sets X-Forwarded-For
server localPM 192.168.181.43:9090

thanks again. 




Reply via email to