diff 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
line wrap: on
line diff
--- a/ssi.t
+++ b/ssi.t
@@ -40,7 +40,7 @@ http {
                            keys_zone=NAME:1m;
 
     server {
-        listen       127.0.0.1:8080;
+        listen       127.0.0.1:%%PORT_0%%;
         server_name  localhost;
 
         if ($args = "found") {
@@ -52,10 +52,10 @@ http {
         }
         location /proxy/ {
             ssi on;
-            proxy_pass http://127.0.0.1:8080/local/;
+            proxy_pass http://127.0.0.1:%%PORT_0%%/local/;
         }
         location /cache/ {
-            proxy_pass http://127.0.0.1:8080/local/;
+            proxy_pass http://127.0.0.1:%%PORT_0%%/local/;
             proxy_cache NAME;
             proxy_cache_valid 200 1h;
         }