Welcome! Log In Create A New Profile

Advanced

Re: limit_conn_zone and limit_conn behavior in 1.2.8

April 14, 2013 07:06PM
So, I've found out more about my situation. Apparently, limit_conn_zone stuff I'm doing on Nginx applies to HAProxy only which is in front of my Nginx.

I guess I have two options:

1. Use HAProxy (instead of Nginx) for request/connection limiting.

2. Limit requests/connections on Nginx based on X-Forwarded-For instead of the IP of HAProxy (which is going to always 127.0.0.1).

Which do you guys think would work better? Thanks!
SubjectAuthorPosted

limit_conn_zone and limit_conn behavior in 1.2.8

mrtnApril 12, 2013 04:44PM

Re: limit_conn_zone and limit_conn behavior in 1.2.8

mrtnApril 14, 2013 07:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready