Welcome! Log In Create A New Profile

Advanced

Allow limit_req inside if blocks

Posted by arthurkang 
Allow limit_req inside if blocks
October 23, 2009 06:52PM
Would be nice if limit_req could be used inside of if blocks. Something like:

if ($remote_addr !~ '^192.168.1') {
limit_req zone=realslow;
}

That's not currently possible, right???
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
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