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 bc3a65f11..affb766ac 100644
--- a/src/http/modules/ngx_http_gzip_static_module.c
+++ b/src/http/modules/ngx_http_gzip_static_module.c
@@ -235,6 +235,7 @@ ngx_http_gzip_static_handler(ngx_http_request_t *r)
b->file->fd = of.fd;
b->file->name = path;
b->file->log = log;
+ b->file->directio = of.is_directio;
out.buf = b;
out.next = NULL;