# Limiting Http request rate

**URL:** <https://discourse.haproxy.org/t/limiting-http-request-rate/5279>\
**Category:** Help!\
**Created:** [May 26, 2020, 1:49pm UTC](https://discourse.haproxy.org/t/limiting-http-request-rate/5279 "2020-05-26T13:49:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajenthapa](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@rajenthapa](https://discourse.haproxy.org/u/rajenthapa)\
**Post date:** [May 26, 2020, 1:49pm UTC](https://discourse.haproxy.org/t/limiting-http-request-rate/5279/1 "2020-05-26T13:49:33Z")

</div>

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.  
Thanks.

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
