Mercurial > hg > nginx-tests
diff http_location_auto.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 |
line wrap: on
line diff
--- a/http_location_auto.t +++ b/http_location_auto.t @@ -35,7 +35,7 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:%%PORT_0%%; + listen 127.0.0.1:8080; server_name localhost; proxy_hide_header X-Location; @@ -53,7 +53,7 @@ http { # # Key factor is that "-" is less than "/". - location /a/ { proxy_pass http://127.0.0.1:%%PORT_0%%/a-a; } + location /a/ { proxy_pass http://127.0.0.1:8080/a-a; } location /a-a { add_header X-Location a-a; return 204; } location /a-b { add_header X-Location a-b; return 204; } }