Mercurial > hg > nginx-tests
comparison h2_proxy_ssl.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 | 4dc302d8e04f |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
39 | 39 |
40 http { | 40 http { |
41 %%TEST_GLOBALS_HTTP%% | 41 %%TEST_GLOBALS_HTTP%% |
42 | 42 |
43 server { | 43 server { |
44 listen 127.0.0.1:8080 http2; | 44 listen 127.0.0.1:%%PORT_0%% http2; |
45 listen 127.0.0.1:8081 ssl; | 45 listen 127.0.0.1:%%PORT_1%% ssl; |
46 server_name localhost; | 46 server_name localhost; |
47 | 47 |
48 ssl_certificate_key localhost.key; | 48 ssl_certificate_key localhost.key; |
49 ssl_certificate localhost.crt; | 49 ssl_certificate localhost.crt; |
50 | 50 |
51 location / { } | 51 location / { } |
52 location /proxy_ssl/ { | 52 location /proxy_ssl/ { |
53 proxy_pass https://127.0.0.1:8081/; | 53 proxy_pass https://127.0.0.1:%%PORT_1%%/; |
54 } | 54 } |
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 EOF | 58 EOF |