Mercurial > hg > nginx-tests
comparison sub_filter.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 | 196d33c2bb45 |
comparison
equal
deleted
inserted
replaced
973:7d7aef8b9f3a | 974:882267679006 |
---|---|
33 | 33 |
34 http { | 34 http { |
35 %%TEST_GLOBALS_HTTP%% | 35 %%TEST_GLOBALS_HTTP%% |
36 | 36 |
37 server { | 37 server { |
38 listen 127.0.0.1:%%PORT_0%%; | 38 listen 127.0.0.1:8080; |
39 server_name localhost; | 39 server_name localhost; |
40 | 40 |
41 sub_filter_types *; | 41 sub_filter_types *; |
42 sub_filter foo bar; | 42 sub_filter foo bar; |
43 | 43 |
89 return 200 $arg_b; | 89 return 200 $arg_b; |
90 } | 90 } |
91 | 91 |
92 location /lm { | 92 location /lm { |
93 sub_filter_last_modified on; | 93 sub_filter_last_modified on; |
94 proxy_pass http://127.0.0.1:%%PORT_1%%/; | 94 proxy_pass http://127.0.0.1:8081/; |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 server { | 98 server { |
99 listen 127.0.0.1:%%PORT_1%%; | 99 listen 127.0.0.1:8081; |
100 server_name localhost; | 100 server_name localhost; |
101 } | 101 } |
102 } | 102 } |
103 | 103 |
104 EOF | 104 EOF |