Mercurial > hg > nginx-tests
comparison proxy_cache_lock_ssi.t @ 952:e9064d691790
Tests: converted tests to run in parallel.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Tue, 21 Jun 2016 16:39:13 +0300 |
parents | 1d1eaf5ce064 |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
38 keys_zone=NAME:1m; | 38 keys_zone=NAME:1m; |
39 | 39 |
40 limit_req_zone $binary_remote_addr zone=one:1m rate=1r/m; | 40 limit_req_zone $binary_remote_addr zone=one:1m rate=1r/m; |
41 | 41 |
42 server { | 42 server { |
43 listen 127.0.0.1:8080; | 43 listen 127.0.0.1:%%PORT_0%%; |
44 server_name localhost; | 44 server_name localhost; |
45 | 45 |
46 location / { | 46 location / { |
47 proxy_pass http://127.0.0.1:8081; | 47 proxy_pass http://127.0.0.1:%%PORT_1%%; |
48 proxy_cache NAME; | 48 proxy_cache NAME; |
49 | 49 |
50 proxy_cache_lock on; | 50 proxy_cache_lock on; |
51 proxy_cache_lock_timeout 100ms; | 51 proxy_cache_lock_timeout 100ms; |
52 | 52 |
59 ssi on; | 59 ssi on; |
60 } | 60 } |
61 } | 61 } |
62 | 62 |
63 server { | 63 server { |
64 listen 127.0.0.1:8081; | 64 listen 127.0.0.1:%%PORT_1%%; |
65 server_name localhost; | 65 server_name localhost; |
66 limit_req zone=one burst=5; | 66 limit_req zone=one burst=5; |
67 } | 67 } |
68 | 68 |
69 } | 69 } |