Mercurial > hg > nginx-tests
diff not_modified_proxy.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 | 3200d5b4ffa8 |
children | 882267679006 |
line wrap: on
line diff
--- a/not_modified_proxy.t +++ b/not_modified_proxy.t @@ -47,7 +47,7 @@ http { proxy_set_header If-None-Match ""; server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; location / { @@ -58,11 +58,11 @@ http { } location /proxy/ { - proxy_pass http://127.0.0.1:8080/; + proxy_pass http://127.0.0.1:%%PORT_0%%/; } location /cache/ { - proxy_pass http://127.0.0.1:8080/; + proxy_pass http://127.0.0.1:%%PORT_0%%/; proxy_cache one; proxy_cache_valid 200 1y; }