Mercurial > hg > nginx-tests
comparison post_action.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 | 6c0a5903d0ae |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
951:9361c7eddfc1 | 952:e9064d691790 |
---|---|
35 | 35 |
36 http { | 36 http { |
37 %%TEST_GLOBALS_HTTP%% | 37 %%TEST_GLOBALS_HTTP%% |
38 | 38 |
39 server { | 39 server { |
40 listen 127.0.0.1:8080; | 40 listen 127.0.0.1:%%PORT_0%%; |
41 server_name localhost; | 41 server_name localhost; |
42 | 42 |
43 location / { | 43 location / { |
44 post_action /post.html; | 44 post_action /post.html; |
45 } | 45 } |
51 location /remote { | 51 location /remote { |
52 post_action /post.remote; | 52 post_action /post.remote; |
53 } | 53 } |
54 | 54 |
55 location /post.remote { | 55 location /post.remote { |
56 proxy_pass http://127.0.0.1:8080/post.html; | 56 proxy_pass http://127.0.0.1:%%PORT_0%%/post.html; |
57 } | 57 } |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 EOF | 61 EOF |