nginx limit_conn_zone questions
HTTP
limit_conn_zone $binary_remote_addr zone=myzone:10m;
SERVER
limit_conn myzone 10;
I understand this example, but when you have multiple virtual hosts, should you define a zone for each (or at least each important) virtual host/site?
limit_conn_zone $binary_remote_addr zone=myzone1:10m;
limit_conn_zone $binary_remote_addr zone=myzone2:10m;
limit_conn_zone $binary_remote_addr zone=myzone3:10m;
What size and number of connections did you set?
When and how do you use limitconnzone and limitreqzone together?
Thanx.