Mercurial > hg > nginx-tests
comparison charset_gzip_static.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 |
---|---|
42 charset_map B A { | 42 charset_map B A { |
43 58 59; # X -> Y | 43 58 59; # X -> Y |
44 } | 44 } |
45 | 45 |
46 server { | 46 server { |
47 listen 127.0.0.1:%%PORT_0%%; | 47 listen 127.0.0.1:8080; |
48 server_name localhost; | 48 server_name localhost; |
49 | 49 |
50 location /t1 { | 50 location /t1 { |
51 charset utf-8; | 51 charset utf-8; |
52 gzip_static on; | 52 gzip_static on; |
62 gzip_static on; | 62 gzip_static on; |
63 } | 63 } |
64 | 64 |
65 location /p/ { | 65 location /p/ { |
66 charset utf-8; | 66 charset utf-8; |
67 proxy_pass http://127.0.0.1:%%PORT_0%%/; | 67 proxy_pass http://127.0.0.1:8080/; |
68 proxy_http_version 1.1; | 68 proxy_http_version 1.1; |
69 } | 69 } |
70 | 70 |
71 location /p.ab/ { | 71 location /p.ab/ { |
72 charset A; | 72 charset A; |
73 source_charset B; | 73 source_charset B; |
74 proxy_pass http://127.0.0.1:%%PORT_0%%/; | 74 proxy_pass http://127.0.0.1:8080/; |
75 proxy_http_version 1.1; | 75 proxy_http_version 1.1; |
76 } | 76 } |
77 | 77 |
78 location /p.aa/ { | 78 location /p.aa/ { |
79 charset A; | 79 charset A; |
80 source_charset A; | 80 source_charset A; |
81 proxy_pass http://127.0.0.1:%%PORT_0%%/; | 81 proxy_pass http://127.0.0.1:8080/; |
82 proxy_http_version 1.1; | 82 proxy_http_version 1.1; |
83 } | 83 } |
84 } | 84 } |
85 } | 85 } |
86 | 86 |