Mercurial > hg > nginx-tests
comparison proxy_bind_transparent.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 | 766bcbb632ee |
comparison
equal
deleted
inserted
replaced
973:7d7aef8b9f3a | 974:882267679006 |
---|---|
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:%%PORT_0%%; | 45 listen 127.0.0.1:8080; |
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:%%PORT_1%%/; | 50 proxy_pass http://127.0.0.1:8081/; |
51 } | 51 } |
52 } | 52 } |
53 | 53 |
54 server { | 54 server { |
55 listen 127.0.0.1:%%PORT_1%%; | 55 listen 127.0.0.1:8081; |
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 } |