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        [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to