Mercurial > hg > nginx-tests
comparison access.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 | cf14cfe9ec8c |
comparison
equal
deleted
inserted
replaced
973:7d7aef8b9f3a | 974:882267679006 |
---|---|
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:%%PORT_0%%; | 41 listen 127.0.0.1:8080; |
42 server_name localhost; | 42 server_name localhost; |
43 | 43 |
44 location /inet/ { | 44 location /inet/ { |
45 proxy_pass http://127.0.0.1:%%PORT_1%%/; | 45 proxy_pass http://127.0.0.1:8081/; |
46 } | 46 } |
47 | 47 |
48 location /inet6/ { | 48 location /inet6/ { |
49 proxy_pass http://[::1]:%%PORT_1%%/; | 49 proxy_pass http://[::1]:%%PORT_8081%%/; |
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:%%PORT_1%%; | 59 listen 127.0.0.1:8081; |
60 listen [::1]:%%PORT_1%%; | 60 listen [::1]:%%PORT_8081%%; |
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 } |