Mercurial > hg > nginx-tests
comparison proxy_ssl_keepalive.t @ 974:882267679006
Tests: simplified parallel modifications in tests.
Mail tests were simplified in c227348453db.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Tue, 12 Jul 2016 17:39:03 +0300 |
parents | e9064d691790 |
children | 8ef51dbb5d69 |
comparison
equal
deleted
inserted
replaced
973:7d7aef8b9f3a | 974:882267679006 |
---|---|
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:%%PORT_1%%; | 43 server 127.0.0.1:8081; |
44 keepalive 1; | 44 keepalive 1; |
45 } | 45 } |
46 | 46 |
47 server { | 47 server { |
48 listen 127.0.0.1:%%PORT_0%%; | 48 listen 127.0.0.1:8080; |
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:%%PORT_1%% ssl; | 60 listen 127.0.0.1:8081 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 |