Mercurial > hg > nginx-tests
diff stream_proxy_bind.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 | f3ba4c74de31 |
line wrap: on
line diff
--- a/stream_proxy_bind.t +++ b/stream_proxy_bind.t @@ -38,9 +38,9 @@ events { stream { server { - listen 127.0.0.1:%%PORT_1%%; + listen 127.0.0.1:8081; proxy_bind 127.0.0.2; - proxy_pass 127.0.0.1:%%PORT_2%%; + proxy_pass 127.0.0.1:8082; } } @@ -48,16 +48,16 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:%%PORT_0%%; + listen 127.0.0.1:8080; server_name localhost; location / { - proxy_pass http://127.0.0.1:%%PORT_1%%; + proxy_pass http://127.0.0.1:8081; } } server { - listen 127.0.0.1:%%PORT_2%%; + listen 127.0.0.1:8082; location / { add_header X-IP $remote_addr;