Mercurial > hg > nginx-tests
comparison proxy_ssl_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 | 875900f02f15 |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
38 | 38 |
39 http { | 39 http { |
40 %%TEST_GLOBALS_HTTP%% | 40 %%TEST_GLOBALS_HTTP%% |
41 | 41 |
42 upstream u { | 42 upstream u { |
43 server 127.0.0.1:8081; | 43 server 127.0.0.1:%%PORT_1%%; |
44 keepalive 1; | 44 keepalive 1; |
45 } | 45 } |
46 | 46 |
47 server { | 47 server { |
48 listen 127.0.0.1:8080; | 48 listen 127.0.0.1:%%PORT_0%%; |
49 server_name localhost; | 49 server_name localhost; |
50 | 50 |
51 proxy_http_version 1.1; | 51 proxy_http_version 1.1; |
52 | 52 |
53 location / { | 53 location / { |
55 proxy_set_header Connection $args; | 55 proxy_set_header Connection $args; |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 server { | 59 server { |
60 listen 127.0.0.1:8081 ssl; | 60 listen 127.0.0.1:%%PORT_1%% ssl; |
61 server_name localhost; | 61 server_name localhost; |
62 | 62 |
63 ssl_certificate_key localhost.key; | 63 ssl_certificate_key localhost.key; |
64 ssl_certificate localhost.crt; | 64 ssl_certificate localhost.crt; |
65 | 65 |