aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_gzip_static_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_gzip_static_module.c')
-rw-r--r--src/http/modules/ngx_http_gzip_static_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_gzip_static_module.c b/src/http/modules/ngx_http_gzip_static_module.c
index a1848628a..22e806ac3 100644
--- a/src/http/modules/ngx_http_gzip_static_module.c
+++ b/src/http/modules/ngx_http_gzip_static_module.c
@@ -205,6 +205,7 @@ ngx_http_gzip_static_handler(ngx_http_request_t *r)
h->value.data = (u_char *) "gzip";
r->headers_out.content_encoding = h;
+ r->ignore_content_encoding = 1;
/* we need to allocate all before the header would be sent */