Welcome! Log In Create A New Profile

Advanced

How to limit per virtual host and per client connection number at the same time?

JWD
October 27, 2010 12:12AM
How to limit per virtual host and per client connection number at the same time, like this:
limit_zone server_conn $server_name 10m;
limit_conn server_conn 100;
limit_zone client_conn $binary_remote_addr 10m;
limit_conn client_conn 20;
This is invalide in nginx config, how to make it work?



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to limit per virtual host and per client connection number at the same time?

JWD October 27, 2010 12:12AM

Re: How to limit per virtual host and per client connection number at the same time?

Maxim Dounin October 27, 2010 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready