Welcome! Log In Create A New Profile

Advanced

Re: переменный limit req zone

cat
March 22, 2013 05:28AM
Спасибо, способ выглядит достаточно компактным. Проверить пока не могу потому, что

> location / {
> limit_req zone=default_limit;
> limit_req zone=user_bob;
> limit_req zone=user_alice;
> }
>

что-то не то:

2013/03/22 05:12:20 [emerg] 26445#0: "limit_req" directive is duplicate in /etc/nginx/nginx.conf:17

Предвижу, что пришло время обновиться.

# nginx -v
nginx: nginx version: nginx/1.0.10
Subject Author Posted

Re: переменный limit req zone

Валентин Бартенев March 21, 2013 08:16PM

Re: переменный limit req zone

cat March 22, 2013 05:28AM

Re: переменный limit req zone

Валентин Бартенев March 22, 2013 05:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready