Mercurial > hg > ngx_http_gunzip_filter_module
annotate README @ 18:27f057249155
Added tag 0.4 for changeset 93115aab4c92
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 20 Sep 2011 15:06:59 +0400 |
parents | 93115aab4c92 |
children |
rev | line source |
---|---|
0 | 1 Gunzip module for nginx. |
2 | |
1
0dd7d109e56b
Gunzip: add more tests and improve docs.
Maxim Dounin <mdounin@mdounin.ru>
parents:
0
diff
changeset
|
3 This module allows gunzipping responses returned with Content-Encoding: gzip |
0 | 4 for clients that doesn't support it. It may be usefull if you prefer to store |
5 data compressed (to save space or disk/network IO) but do not want to penalize | |
6 clients without gzip support. | |
7 | |
1
0dd7d109e56b
Gunzip: add more tests and improve docs.
Maxim Dounin <mdounin@mdounin.ru>
parents:
0
diff
changeset
|
8 Note well: only responses with Content-Encoding set to gzip before this module |
0dd7d109e56b
Gunzip: add more tests and improve docs.
Maxim Dounin <mdounin@mdounin.ru>
parents:
0
diff
changeset
|
9 are handled (e.g. using "add_header Content-Encoding gzip;" isn't enough as it |
0dd7d109e56b
Gunzip: add more tests and improve docs.
Maxim Dounin <mdounin@mdounin.ru>
parents:
0
diff
changeset
|
10 happens after). As of now only proxy and fastcgi are able to do so. |
0dd7d109e56b
Gunzip: add more tests and improve docs.
Maxim Dounin <mdounin@mdounin.ru>
parents:
0
diff
changeset
|
11 |
0 | 12 Configuration directives: |
13 | |
14 gunzip (on|off) | |
15 | |
16 Context: http, server, location | |
17 Default: off | |
18 | |
19 Switches gunzip. | |
20 | |
21 gunzip_buffers <number> <size> | |
22 | |
23 Context: http, server, location | |
24 Default: 32 4k/16 8k | |
25 | |
26 Specifies number and size of buffers available for decompression. | |
27 | |
28 Usage: | |
29 | |
30 location /storage/ { | |
31 gunzip on; | |
1
0dd7d109e56b
Gunzip: add more tests and improve docs.
Maxim Dounin <mdounin@mdounin.ru>
parents:
0
diff
changeset
|
32 ... |
0 | 33 } |
34 | |
35 To compile nginx with gunzip module, use "--add-module <path>" option to nginx | |
36 configure. |