Mercurial > hg > nginx-vendor-1-0
comparison src/http/modules/ngx_http_gzip_static_module.c @ 572:ff463db0be31 NGINX_0_8_38
nginx 0.8.38
*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.
*) Feature: now the "rewrite" directive does a redirect automatically
if the $scheme variable is used.
Thanks to Piotr Sikora.
*) Bugfix: now "limit_req" delay directive conforms to the described
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: the $uid_got variable might not be used in the SSI and perl
modules.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 May 2010 00:00:00 +0400 |
parents | 8246d8a2c2be |
children | ad25218fd14b |
comparison
equal
deleted
inserted
replaced
571:5b59e716792b | 572:ff463db0be31 |
---|---|
87 | 87 |
88 if (r->uri.data[r->uri.len - 1] == '/') { | 88 if (r->uri.data[r->uri.len - 1] == '/') { |
89 return NGX_DECLINED; | 89 return NGX_DECLINED; |
90 } | 90 } |
91 | 91 |
92 if (r->zero_in_uri) { | |
93 return NGX_DECLINED; | |
94 } | |
95 | |
96 gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module); | 92 gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module); |
97 | 93 |
98 if (!gzcf->enable) { | 94 if (!gzcf->enable) { |
99 return NGX_DECLINED; | 95 return NGX_DECLINED; |
100 } | 96 } |