blob: 0cebda07618b7da8cdbb0dbc146e8cf817080184 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
=encoding utf-8
=head1 NAME
ngx_http_gunzip_module - Module ngx_http_gunzip_module
=head1
The C<ngx_http_gunzip_module> module is a filter that
decompresses responses with “C<Content-Encoding: gzip>”
for clients that do not support “gzip” encoding method.
The module will be useful when it is desirable to store
data compressed to save space and reduce IE<sol>O costs.
This module is not built by default, it should be enabled with the
C<--with-http_gunzip_module>
configuration parameter.
=head1 Example Configuration
location /storage/ {
gunzip on;
...
}
=head1 Directives
=head2 gunzip
B<syntax:> gunzip I<C<on> E<verbar> C<off>>
B<default:> I<off>
B<context:> I<http>
B<context:> I<server>
B<context:> I<location>
Enables or disables decompression of gzipped responses
for clients that lack gzip support.
If enabled, the following directives are also taken into account
when determining if clients support gzip:
L<ngx_http_gzip_module>,
L<ngx_http_gzip_module>, and
L<ngx_http_gzip_module>.
See also the L<ngx_http_gzip_module> directive.
=head2 gunzip_buffers
B<syntax:> gunzip_buffers I<I<C<number>> I<C<size>>>
B<default:> I<32 4kE<verbar>16 8k>
B<context:> I<http>
B<context:> I<server>
B<context:> I<location>
Sets the I<C<number>> and I<C<size>> of buffers
used to decompress a response.
By default, the buffer size is equal to one memory page.
This is either 4K or 8K, depending on a platform.
|