Hi,

On Tue, Oct 29, 2013 at 01:15:29AM +0100, Przemys??aw Hejman wrote:
> Hi,
> 
> Now everything is working - thank you very much guys for your commitment !! 
> Without your help, it wouldn't work for me.
> 
>  
> I attach my current working config just if somebody comes here with similar 
> problem:
> 
> global        
>       stats socket /tmp/haproxy.sock
> defaults
>     mode http
>     timeout connect 5000ms
>     timeout client 50000ms
>     timeout server 50000ms
> 
> frontend app 
>       bind *:8080     
>               default_backend web_servers     
> 
> backend web_servers
>         balance roundrobin    
>       option http-server-close
>         stick-table type integer size 200k expire 30m store http_req_cnt
>         tcp-request content track-sc0 urlp(SID,?)     
>         tcp-request content reject if { sc0_http_req_cnt gt 2 } 
>       tcp-request inspect-delay 10s 
>         server web01 192.168.9.128:80 check inter 1000
>         server web02 192.168.9.129:80 check inter 1000
> 

Thanks you, it's always much appreciated when people share working configs!

Best regards,
Willy


Reply via email to