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!
Subject Author Posted

limit_conn_zone and limit_conn behavior in 1.2.8

mrtn April 12, 2013 04:44PM

Re: limit_conn_zone and limit_conn behavior in 1.2.8

mrtn April 14, 2013 07:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready