Mercurial > hg > nginx-tests
diff 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 | 122cd3a82367 |
children | 882267679006 |
line wrap: on
line diff
--- a/proxy_ssl.t Tue Jun 21 16:37:58 2016 +0300 +++ b/proxy_ssl.t Tue Jun 21 16:39:13 2016 +0300 @@ -35,7 +35,7 @@ %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8081 ssl; + listen 127.0.0.1:%%PORT_1%% ssl; ssl_certificate_key localhost.key; ssl_certificate localhost.crt; @@ -47,21 +47,21 @@ } server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; location /ssl_reuse { - proxy_pass https://127.0.0.1:8081/; + proxy_pass https://127.0.0.1:%%PORT_1%%/; proxy_ssl_session_reuse on; } location /ssl { - proxy_pass https://127.0.0.1:8081/; + proxy_pass https://127.0.0.1:%%PORT_1%%/; proxy_ssl_session_reuse off; } location /timeout { - proxy_pass https://127.0.0.1:8081/; + proxy_pass https://127.0.0.1:%%PORT_1%%/; proxy_connect_timeout 2s; } }