Mercurial > hg > nginx-tests
diff proxy_cache_vary.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 |
line wrap: on
line diff
--- a/proxy_cache_vary.t +++ b/proxy_cache_vary.t @@ -38,36 +38,36 @@ http { proxy_cache_key $uri; server { - listen 127.0.0.1:%%PORT_0%%; + listen 127.0.0.1:8080; server_name localhost; add_header X-Cache-Status $upstream_cache_status; location / { - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_cache one; } location /replace/ { - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_cache one; } location /revalidate/ { - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_cache one; proxy_cache_revalidate on; } location /ignore/ { - proxy_pass http://127.0.0.1:%%PORT_1%%/; + proxy_pass http://127.0.0.1:8081/; proxy_cache one; proxy_ignore_headers Vary; } } server { - listen 127.0.0.1:%%PORT_1%%; + listen 127.0.0.1:8081; server_name localhost; gzip on;