commit | f53c2a00f87e6c7600e79776d3e2c16b4c3b452e | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Jan 08 10:35:50 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Jan 08 10:35:50 2008 +0000 |
tree | 5aa00242cbca031a73245fbdc016578c450a03a9 | |
parent | 67913781fcd0454555b084fe3162f8953c3b627b [diff] |
ngx_http_gzip_static_module should DECLINE request
diff --git a/src/http/modules/ngx_http_gzip_static_module.c b/src/http/modules/ngx_http_gzip_static_module.c index 6018203..c373649 100644 --- a/src/http/modules/ngx_http_gzip_static_module.c +++ b/src/http/modules/ngx_http_gzip_static_module.c
@@ -82,7 +82,7 @@ ngx_http_gzip_static_conf_t *gzcf; if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { - return NGX_HTTP_NOT_ALLOWED; + return NGX_DECLINED; } if (r->uri.data[r->uri.len - 1] == '/') {