Mercurial > hg > nginx-tests
comparison http_variables.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 | adf5671391ac |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
37 %%TEST_GLOBALS_HTTP%% | 37 %%TEST_GLOBALS_HTTP%% |
38 | 38 |
39 log_format cc "$uri: $sent_http_cache_control"; | 39 log_format cc "$uri: $sent_http_cache_control"; |
40 | 40 |
41 server { | 41 server { |
42 listen 127.0.0.1:8080; | 42 listen 127.0.0.1:%%PORT_0%%; |
43 server_name localhost; | 43 server_name localhost; |
44 | 44 |
45 access_log %%TESTDIR%%/cc.log cc; | 45 access_log %%TESTDIR%%/cc.log cc; |
46 | 46 |
47 location / { | 47 location / { |
55 return 200 OK; | 55 return 200 OK; |
56 } | 56 } |
57 | 57 |
58 location /redefine { | 58 location /redefine { |
59 expires epoch; | 59 expires epoch; |
60 proxy_pass http://127.0.0.1:8080/set; | 60 proxy_pass http://127.0.0.1:%%PORT_0%%/set; |
61 } | 61 } |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 EOF | 65 EOF |