Mercurial > hg > nginx-tests
diff proxy_force_ranges.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 | 6c0a5903d0ae |
children | 882267679006 |
line wrap: on
line diff
--- a/proxy_force_ranges.t +++ b/proxy_force_ranges.t @@ -40,15 +40,15 @@ http { keys_zone=NAME:1m; server { - listen 127.0.0.1:8080; + listen 127.0.0.1:%%PORT_0%%; server_name localhost; location / { - proxy_pass http://127.0.0.1:8081; + proxy_pass http://127.0.0.1:%%PORT_1%%; } location /cache/ { - proxy_pass http://127.0.0.1:8081/; + proxy_pass http://127.0.0.1:%%PORT_1%%/; proxy_cache NAME; proxy_cache_valid 200 1m; @@ -57,7 +57,7 @@ http { } server { - listen 127.0.0.1:8081; + listen 127.0.0.1:%%PORT_1%%; server_name localhost; location / {