# Limited rate of proxy\_pass per IP?

**URL:** <https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784>\
**Category:** NGINX\
**Created:** [January 14, 2011, 2:04pm UTC](https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784 "2011-01-14T14:04:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [January 14, 2011, 2:04pm UTC](https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784/1 "2011-01-14T14:04:44Z")

</div>

Hello,

Is it possible to limit proxy\_pass rate per IP? Currently I can limit  
conn per IP with firewall, but the most resource usage is behind the  
application server. That’s why I want to limit it.

Thanks.

Posted at Nginx Forum:

> **[Limited rate of proxy\_pass per IP?](https://forum.nginx.org/read.php?2,166219,166219#msg-166219)**
>
> Hello, Is it possible to limit proxy\_pass rate per IP? Currently I can limit conn per IP with firewall, but the most resource usage is behind the application server. That's why I want to limit it. Thanks.

---

<div class="post-metadata">

**Author:** ![jcisio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jcisio](https://www.ruby-forum.com/u/jcisio)\
**Post date:** [January 14, 2011, 5:05pm UTC](https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784/2 "2011-01-14T17:05:11Z")

</div>

Hello!

On Fri, Jan 14, 2011 at 08:03:00AM -0500, jcisio wrote:

> Is it possible to limit proxy\_pass rate per IP? Currently I can limit  
> conn per IP with firewall, but the most resource usage is behind the  
> application server. That’s why I want to limit it.

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

Maxim D.

---

<div class="post-metadata">

**Author:** ![jcisio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jcisio](https://www.ruby-forum.com/u/jcisio)\
**Post date:** [January 14, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784/3 "2011-01-14T17:15:51Z")

</div>

Thanks. I should have tried it before ask. I used it once, but then  
replaced by a firewall solution. Now the hackers seem more intelligent,  
they don’t request pages which are served directly by nginx. I’ll try it  
again.

Posted at Nginx Forum:

> **[Re: Limited rate of proxy\_pass per IP?](https://forum.nginx.org/read.php?2,166219,166293#msg-166293)**
>
> Hello, Is it possible to limit proxy\_pass rate per IP? Currently I can limit conn per IP with firewall, but the most resource usage is behind the application server. That's why I want to limit it. Thanks.
