Changes between Initial Version and Version 1 of Ticket #367, comment 3


Ignore:
Timestamp:
06/05/13 03:02:27 (8 years ago)
Author:
Toad Zhou

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #367, comment 3

    initial v1  
    11Tested it is ok, but why can't different location separates the same zone name?
     2Although successful, such effect and in the server configuration "limit_conn zsf 1" is the same.
     3
     4Below request is marching at the same time.
     5ip:8001/zsf/test.zip   ok
     6ip:8001/zsf/test1.zip  503
     7ip:8001/zsf1/test.zip  503
     8ip:8001/zsf1/test1.zip  503
    29
    310limit_conn_zone $binary_remote_addr zone=zsf:10m;
    4 limit_conn_zone $binary_remote_addr zone=zsf1:10m;
     11
    512server
    613{
     
    1825   location ~ ^/zsf1 {
    1926
    20         limit_conn zsf1 1;
     27        limit_conn zsf 1;
    2128        limit_rate 10k;
    2229    }