Changes between Initial Version and Version 1 of Ticket #367, comment 3
- Timestamp:
- 06/05/13 03:02:27 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #367, comment 3
initial v1 1 1 Tested it is ok, but why can't different location separates the same zone name? 2 Although successful, such effect and in the server configuration "limit_conn zsf 1" is the same. 3 4 Below request is marching at the same time. 5 ip:8001/zsf/test.zip ok 6 ip:8001/zsf/test1.zip 503 7 ip:8001/zsf1/test.zip 503 8 ip:8001/zsf1/test1.zip 503 2 9 3 10 limit_conn_zone $binary_remote_addr zone=zsf:10m; 4 limit_conn_zone $binary_remote_addr zone=zsf1:10m; 11 5 12 server 6 13 { … … 18 25 location ~ ^/zsf1 { 19 26 20 limit_conn zsf 11;27 limit_conn zsf 1; 21 28 limit_rate 10k; 22 29 }