comparison gzip.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
comparison
equal deleted inserted replaced
973:7d7aef8b9f3a 974:882267679006
34 34
35 http { 35 http {
36 %%TEST_GLOBALS_HTTP%% 36 %%TEST_GLOBALS_HTTP%%
37 37
38 server { 38 server {
39 listen 127.0.0.1:%%PORT_0%%; 39 listen 127.0.0.1:8080;
40 server_name localhost; 40 server_name localhost;
41 location / { 41 location / {
42 gzip on; 42 gzip on;
43 } 43 }
44 location /proxy/ { 44 location /proxy/ {
45 gzip on; 45 gzip on;
46 proxy_pass http://127.0.0.1:%%PORT_0%%/local/; 46 proxy_pass http://127.0.0.1:8080/local/;
47 } 47 }
48 location /local/ { 48 location /local/ {
49 gzip off; 49 gzip off;
50 alias %%TESTDIR%%/; 50 alias %%TESTDIR%%/;
51 } 51 }