Welcome! Log In Create A New Profile

Advanced

limit_conn/limit_req, side effect, need help

February 23, 2010 03:36AM
In nginx.conf

limit_zone xxxxxx $binary_remote_addr 1M;
limit_req_zone $binary_remote_addr zone=xxxxxx_freq:1M rate=30r/m;

In site definition
limit_conn xxxxxx 3;
limit_req zone=xxxxxx_freq burst=1 nodelay;


First connection usually gets a 503, subsequent ones work.

First connection usually refers to a dir without / final, then another with / is requested, then dir/index.php.

Any help will be appreciated.
Thanks,
Gerardo
Subject Author Posted

limit_conn/limit_req, side effect, need help

GerMalaz February 23, 2010 03:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 50
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready