Mercurial > hg > nginx-tests
comparison proxy_protocol_port.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 | d5762cd27ad9 |
children | 508ee7ea9706 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
38 %%TEST_GLOBALS_HTTP%% | 38 %%TEST_GLOBALS_HTTP%% |
39 | 39 |
40 log_format port $proxy_protocol_port; | 40 log_format port $proxy_protocol_port; |
41 | 41 |
42 server { | 42 server { |
43 listen 127.0.0.1:8080 proxy_protocol; | 43 listen 127.0.0.1:%%PORT_0%% proxy_protocol; |
44 server_name localhost; | 44 server_name localhost; |
45 | 45 |
46 add_header X-PP-Port $proxy_protocol_port; | 46 add_header X-PP-Port $proxy_protocol_port; |
47 add_header X-Remote-Port $remote_port; | 47 add_header X-Remote-Port $remote_port; |
48 | 48 |