comparison proxy_bind_transparent.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 6af0421615ea
children 882267679006
comparison
equal deleted inserted replaced
951:9361c7eddfc1 952:e9064d691790
40 40
41 http { 41 http {
42 %%TEST_GLOBALS_HTTP%% 42 %%TEST_GLOBALS_HTTP%%
43 43
44 server { 44 server {
45 listen 127.0.0.1:8080; 45 listen 127.0.0.1:%%PORT_0%%;
46 server_name localhost; 46 server_name localhost;
47 47
48 location / { 48 location / {
49 proxy_bind 127.0.0.2 transparent; 49 proxy_bind 127.0.0.2 transparent;
50 proxy_pass http://127.0.0.1:8081/; 50 proxy_pass http://127.0.0.1:%%PORT_1%%/;
51 } 51 }
52 } 52 }
53 53
54 server { 54 server {
55 listen 127.0.0.1:8081; 55 listen 127.0.0.1:%%PORT_1%%;
56 server_name localhost; 56 server_name localhost;
57 57
58 location / { 58 location / {
59 add_header X-IP $remote_addr; 59 add_header X-IP $remote_addr;
60 } 60 }