Welcome! Log In Create A New Profile

Advanced

Re: limit_conn with variables erroring with invalid number of connections

Francis Daly
April 29, 2017 08:42AM
On Sun, Apr 23, 2017 at 09:14:20PM -0400, justink101 wrote:

Hi there,

> server {
> limit_conn $limit_zone $limit_number;
> }
>
> When starting NGINX getting a fatal error though. Does limit_conn support
> using variables?
>
> error => invalid number of connections "$limit_number"

http://nginx.org/r/limit_conn

Generally, if a directive argument accepts variables, the documentation
will say that it does. Otherwise, it's probably a documentation bug.

In this case, the documentation does not say that it accepts variables,
and the error message indicates that it does not.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

limit_conn with variables erroring with invalid number of connections

justink101 April 23, 2017 09:14PM

Re: limit_conn with variables erroring with invalid number of connections

Francis Daly April 29, 2017 08:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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