comparison http_error_page.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 784151520a9a
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 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:%%PORT_1%%; 89 proxy_pass http://127.0.0.1:8081;
90 } 90 }
91 } 91 }
92 } 92 }
93 93
94 EOF 94 EOF