aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_modules.c')
-rw-r--r--src/core/ngx_modules.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/ngx_modules.c b/src/core/ngx_modules.c
new file mode 100644
index 000000000..5b814baf9
--- /dev/null
+++ b/src/core/ngx_modules.c
@@ -0,0 +1,23 @@
+
+#include <ngx_http.h>
+
+extern ngx_http_module_t ngx_http_header_filter_module;
+
+extern ngx_http_module_t ngx_http_write_filter_module;
+extern ngx_http_module_t ngx_http_output_filter_module;
+
+extern ngx_http_module_t ngx_http_core_module;
+extern ngx_http_module_t ngx_http_index_module;
+
+ngx_http_module_t *ngx_http_modules[] = {
+
+ &ngx_http_header_filter_module,
+
+ &ngx_http_write_filter_module,
+ &ngx_http_output_filter_module,
+
+ &ngx_http_index_module,
+ &ngx_http_core_module,
+
+ NULL
+};