Welcome! Log In Create A New Profile


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.
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: 107
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 466 on July 09, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready