comparison gunzip_ssi.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
38 38
39 http { 39 http {
40 %%TEST_GLOBALS_HTTP%% 40 %%TEST_GLOBALS_HTTP%%
41 41
42 server { 42 server {
43 listen 127.0.0.1:%%PORT_0%%; 43 listen 127.0.0.1:8080;
44 server_name localhost; 44 server_name localhost;
45 45
46 location / { 46 location / {
47 gunzip on; 47 gunzip on;
48 gzip_vary on; 48 gzip_vary on;
49 proxy_pass http://127.0.0.1:%%PORT_1%%/; 49 proxy_pass http://127.0.0.1:8081/;
50 proxy_set_header Accept-Encoding gzip; 50 proxy_set_header Accept-Encoding gzip;
51 } 51 }
52 52
53 location /t.html { 53 location /t.html {
54 ssi on; 54 ssi on;
55 } 55 }
56 } 56 }
57 57
58 server { 58 server {
59 listen 127.0.0.1:%%PORT_1%%; 59 listen 127.0.0.1:8081;
60 server_name localhost; 60 server_name localhost;
61 61
62 location / { 62 location / {
63 default_type text/plain; 63 default_type text/plain;
64 gzip_static on; 64 gzip_static on;