Mercurial > hg > nginx-tests
comparison access.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 | 25bf03642a45 |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
36 | 36 |
37 http { | 37 http { |
38 %%TEST_GLOBALS_HTTP%% | 38 %%TEST_GLOBALS_HTTP%% |
39 | 39 |
40 server { | 40 server { |
41 listen 127.0.0.1:8080; | 41 listen 127.0.0.1:%%PORT_0%%; |
42 server_name localhost; | 42 server_name localhost; |
43 | 43 |
44 location /inet/ { | 44 location /inet/ { |
45 proxy_pass http://127.0.0.1:8081/; | 45 proxy_pass http://127.0.0.1:%%PORT_1%%/; |
46 } | 46 } |
47 | 47 |
48 location /inet6/ { | 48 location /inet6/ { |
49 proxy_pass http://[::1]:8081/; | 49 proxy_pass http://[::1]:%%PORT_1%%/; |
50 } | 50 } |
51 | 51 |
52 location /unix/ { | 52 location /unix/ { |
53 proxy_pass http://unix:%%TESTDIR%%/unix.sock:/; | 53 proxy_pass http://unix:%%TESTDIR%%/unix.sock:/; |
54 } | 54 } |
55 | 55 |
56 } | 56 } |
57 | 57 |
58 server { | 58 server { |
59 listen 127.0.0.1:8081; | 59 listen 127.0.0.1:%%PORT_1%%; |
60 listen [::1]:8081; | 60 listen [::1]:%%PORT_1%%; |
61 listen unix:%%TESTDIR%%/unix.sock; | 61 listen unix:%%TESTDIR%%/unix.sock; |
62 | 62 |
63 location /allow_all { | 63 location /allow_all { |
64 allow all; | 64 allow all; |
65 } | 65 } |