Mercurial > hg > ngx_http_gunzip_filter_module
comparison README @ 1:0dd7d109e56b
Gunzip: add more tests and improve docs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 20 Dec 2009 03:55:31 +0300 |
parents | a75d4ad9c5d2 |
children | 93115aab4c92 |
comparison
equal
deleted
inserted
replaced
0:a75d4ad9c5d2 | 1:0dd7d109e56b |
---|---|
1 Gunzip module for nginx. | 1 Gunzip module for nginx. |
2 | 2 |
3 This module allows ungzipping responses returned with Content-Encoding: gzip | 3 This module allows gunzipping responses returned with Content-Encoding: gzip |
4 for clients that doesn't support it. It may be usefull if you prefer to store | 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 | 5 data compressed (to save space or disk/network IO) but do not want to penalize |
6 clients without gzip support. | 6 clients without gzip support. |
7 | |
8 Note well: only responses with Content-Encoding set to gzip before this module | |
9 are handled (e.g. using "add_header Content-Encoding gzip;" isn't enough as it | |
10 happens after). As of now only proxy and fastcgi are able to do so. | |
11 | |
12 This module was designed to work with nginx 0.8.* (though it should work with | |
13 0.7.* too). | |
7 | 14 |
8 Configuration directives: | 15 Configuration directives: |
9 | 16 |
10 gunzip (on|off) | 17 gunzip (on|off) |
11 | 18 |
23 | 30 |
24 Usage: | 31 Usage: |
25 | 32 |
26 location /storage/ { | 33 location /storage/ { |
27 gunzip on; | 34 gunzip on; |
35 ... | |
28 } | 36 } |
29 | 37 |
30 To compile nginx with gunzip module, use "--add-module <path>" option to nginx | 38 To compile nginx with gunzip module, use "--add-module <path>" option to nginx |
31 configure. | 39 configure. |