Mercurial > hg > nginx-tests
comparison proxy_store.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 | 89cfb7397ba1 |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
34 | 34 |
35 http { | 35 http { |
36 %%TEST_GLOBALS_HTTP%% | 36 %%TEST_GLOBALS_HTTP%% |
37 | 37 |
38 server { | 38 server { |
39 listen 127.0.0.1:8080; | 39 listen 127.0.0.1:%%PORT_0%%; |
40 server_name localhost; | 40 server_name localhost; |
41 | 41 |
42 location /store- { | 42 location /store- { |
43 proxy_pass http://127.0.0.1:8080/; | 43 proxy_pass http://127.0.0.1:%%PORT_0%%/; |
44 proxy_store on; | 44 proxy_store on; |
45 } | 45 } |
46 location /store-string- { | 46 location /store-string- { |
47 proxy_pass http://127.0.0.1:8080/; | 47 proxy_pass http://127.0.0.1:%%PORT_0%%/; |
48 proxy_store %%TESTDIR%%$uri; | 48 proxy_store %%TESTDIR%%$uri; |
49 } | 49 } |
50 location /ssi.html { | 50 location /ssi.html { |
51 ssi on; | 51 ssi on; |
52 } | 52 } |