comparison ssi.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
38 38
39 proxy_cache_path %%TESTDIR%%/cache levels=1:2 39 proxy_cache_path %%TESTDIR%%/cache levels=1:2
40 keys_zone=NAME:1m; 40 keys_zone=NAME:1m;
41 41
42 server { 42 server {
43 listen 127.0.0.1:%%PORT_0%%; 43 listen 127.0.0.1:8080;
44 server_name localhost; 44 server_name localhost;
45 45
46 if ($args = "found") { 46 if ($args = "found") {
47 return 204; 47 return 204;
48 } 48 }
50 location / { 50 location / {
51 ssi on; 51 ssi on;
52 } 52 }
53 location /proxy/ { 53 location /proxy/ {
54 ssi on; 54 ssi on;
55 proxy_pass http://127.0.0.1:%%PORT_0%%/local/; 55 proxy_pass http://127.0.0.1:8080/local/;
56 } 56 }
57 location /cache/ { 57 location /cache/ {
58 proxy_pass http://127.0.0.1:%%PORT_0%%/local/; 58 proxy_pass http://127.0.0.1:8080/local/;
59 proxy_cache NAME; 59 proxy_cache NAME;
60 proxy_cache_valid 200 1h; 60 proxy_cache_valid 200 1h;
61 } 61 }
62 location /local/ { 62 location /local/ {
63 ssi off; 63 ssi off;