Mercurial > hg > nginx-tests
comparison proxy_request_buffering_keepalive.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 | a4f806eb4426 |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
35 | 35 |
36 http { | 36 http { |
37 %%TEST_GLOBALS_HTTP%% | 37 %%TEST_GLOBALS_HTTP%% |
38 | 38 |
39 upstream backend { | 39 upstream backend { |
40 server 127.0.0.1:8081; | 40 server 127.0.0.1:%%PORT_1%%; |
41 keepalive 1; | 41 keepalive 1; |
42 } | 42 } |
43 | 43 |
44 server { | 44 server { |
45 listen 127.0.0.1:8080; | 45 listen 127.0.0.1:%%PORT_0%%; |
46 server_name localhost; | 46 server_name localhost; |
47 | 47 |
48 proxy_http_version 1.1; | 48 proxy_http_version 1.1; |
49 proxy_set_header Connection ""; | 49 proxy_set_header Connection ""; |
50 | 50 |
54 proxy_request_buffering off; | 54 proxy_request_buffering off; |
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 server { | 58 server { |
59 listen 127.0.0.1:8081; | 59 listen 127.0.0.1:%%PORT_1%%; |
60 server_name localhost; | 60 server_name localhost; |
61 | 61 |
62 location / { } | 62 location / { } |
63 } | 63 } |
64 } | 64 } |