comparison src/http/modules/ngx_http_gzip_filter.c @ 34:aab2ea7c0458 NGINX_0_1_17

nginx 0.1.17 *) Change: the ngx_http_rewrite_module was rewritten from the scratch. Now it is possible to redirect, to return the error codes, to check the variables and referrers. The directives can be used inside locations. The redirect directive was canceled. *) Feature: the ngx_http_geo_module. *) Feature: the proxy_set_x_var and fastcgi_set_var directives. *) Bugfix: the location configuration with "=" modifier may be used in another location. *) Bugfix: the correct content type was set only for requests that use small caps letters in extension. *) Bugfix: if the proxy_pass or fastcgi_pass directives were set in the location, and access was denied, and the error was redirected to a static page, then the segmentation fault occurred. *) Bugfix: if in a proxied "Location" header was a relative URL, then a host name and a slash were added to them; bug appeared in 0.1.14. *) Bugfix: the system error message was not logged on Linux.
author Igor Sysoev <http://sysoev.ru>
date Thu, 03 Feb 2005 00:00:00 +0300
parents da8c190bdaba
children 2879cd3a40cb
comparison
equal deleted inserted replaced
33:27f09a550803 34:aab2ea7c0458
130 130
131 131
132 static ngx_command_t ngx_http_gzip_filter_commands[] = { 132 static ngx_command_t ngx_http_gzip_filter_commands[] = {
133 133
134 { ngx_string("gzip"), 134 { ngx_string("gzip"),
135 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 135 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
136 |NGX_CONF_FLAG,
136 ngx_conf_set_flag_slot, 137 ngx_conf_set_flag_slot,
137 NGX_HTTP_LOC_CONF_OFFSET, 138 NGX_HTTP_LOC_CONF_OFFSET,
138 offsetof(ngx_http_gzip_conf_t, enable), 139 offsetof(ngx_http_gzip_conf_t, enable),
139 NULL }, 140 NULL },
140 141