Mercurial > hg > nginx-tests
comparison proxy_protocol.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 | adf5671391ac |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
39 %%TEST_GLOBALS_HTTP%% | 39 %%TEST_GLOBALS_HTTP%% |
40 | 40 |
41 log_format pp '$remote_addr $request'; | 41 log_format pp '$remote_addr $request'; |
42 | 42 |
43 server { | 43 server { |
44 listen 127.0.0.1:8080 proxy_protocol; | 44 listen 127.0.0.1:%%PORT_0%% proxy_protocol; |
45 server_name localhost; | 45 server_name localhost; |
46 | 46 |
47 set_real_ip_from 127.0.0.1/32; | 47 set_real_ip_from 127.0.0.1/32; |
48 add_header X-IP $remote_addr; | 48 add_header X-IP $remote_addr; |
49 add_header X-PP $proxy_protocol_addr; | 49 add_header X-PP $proxy_protocol_addr; |