comparison ssi.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 35832048546e
children 882267679006
comparison
equal deleted inserted replaced
951:9361c7eddfc1 952:e9064d691790
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:8080; 43 listen 127.0.0.1:%%PORT_0%%;
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:8080/local/; 55 proxy_pass http://127.0.0.1:%%PORT_0%%/local/;
56 } 56 }
57 location /cache/ { 57 location /cache/ {
58 proxy_pass http://127.0.0.1:8080/local/; 58 proxy_pass http://127.0.0.1:%%PORT_0%%/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;