comparison http_error_page.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 25f2ba615000
children 882267679006
comparison
equal deleted inserted replaced
951:9361c7eddfc1 952:e9064d691790
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:8080; 38 listen 127.0.0.1:%%PORT_0%%;
39 server_name localhost; 39 server_name localhost;
40 40
41 location /redirect200 { 41 location /redirect200 {
42 error_page 404 =200 http://example.com/; 42 error_page 404 =200 http://example.com/;
43 return 404; 43 return 404;
84 error_page 302 /auto; 84 error_page 302 /auto;
85 return 302 "first"; 85 return 302 "first";
86 } 86 }
87 87
88 location /auto/ { 88 location /auto/ {
89 proxy_pass http://127.0.0.1:8081; 89 proxy_pass http://127.0.0.1:%%PORT_1%%;
90 } 90 }
91 } 91 }
92 } 92 }
93 93
94 EOF 94 EOF