HAProxy community

Limiting Http request rate

Hi ,
I have configured haproxy to deny http-request of more than 5 request per second via use of stick-table. But seems like haproxy hasn’t dropped any request that have exceeded the request rate of 5 request/sec. Can anyone help me out.

frontend proxy_front
bind *:80
bind *:443 ssl crt /etc/ssl/xxx.pem
http-request track-sc0 src table proxy_back
http-request deny deny_status 429 if { sc_http_req_rate(0) gt 50 }
default_backend proxy_back

backend proxy_back
stick-table type ip size 100K expire 10s store http_req_rate(10s)
server Nginx 1x.x.x.x:80 maxconn 10000