aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_modules.c')
-rw-r--r--src/http/ngx_http_modules.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/http/ngx_http_modules.c b/src/http/ngx_http_modules.c
index ca1f4ac84..922b28e59 100644
--- a/src/http/ngx_http_modules.c
+++ b/src/http/ngx_http_modules.c
@@ -1,7 +1,13 @@
+#include <ngx_http.h>
+
extern ngx_http_module_t ngx_http_output_filter_module;
+extern ngx_http_module_t ngx_http_write_filter_module;
+extern ngx_http_module_t ngx_http_index_module;
ngx_http_module_t *ngx_http_modules[] = {
- ngx_http_output_filter_module,
+ &ngx_http_write_filter_module,
+ &ngx_http_output_filter_module,
+ &ngx_http_index_module,
NULL
};