Mercurial > hg > nginx-tests
comparison realip.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 | cf9183219c59 |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
38 add_header X-IP $remote_addr; | 38 add_header X-IP $remote_addr; |
39 set_real_ip_from 127.0.0.1/32; | 39 set_real_ip_from 127.0.0.1/32; |
40 set_real_ip_from 10.0.1.0/24; | 40 set_real_ip_from 10.0.1.0/24; |
41 | 41 |
42 server { | 42 server { |
43 listen 127.0.0.1:8080; | 43 listen 127.0.0.1:%%PORT_0%%; |
44 server_name localhost; | 44 server_name localhost; |
45 | 45 |
46 location / { } | 46 location / { } |
47 location /custom { | 47 location /custom { |
48 real_ip_header X-Real-IP-Custom; | 48 real_ip_header X-Real-IP-Custom; |