comparison proxy_limit_rate.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 516070bada7d
comparison
equal deleted inserted replaced
973:7d7aef8b9f3a 974:882267679006
35 35
36 http { 36 http {
37 %%TEST_GLOBALS_HTTP%% 37 %%TEST_GLOBALS_HTTP%%
38 38
39 server { 39 server {
40 listen 127.0.0.1:%%PORT_0%%; 40 listen 127.0.0.1:8080;
41 server_name localhost; 41 server_name localhost;
42 42
43 location / { 43 location / {
44 proxy_pass http://127.0.0.1:%%PORT_0%%/data; 44 proxy_pass http://127.0.0.1:8080/data;
45 proxy_limit_rate 12000; 45 proxy_limit_rate 12000;
46 add_header X-Msec $msec; 46 add_header X-Msec $msec;
47 } 47 }
48 48
49 location /data { 49 location /data {