aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_modules.c
blob: 273c5550e2c2dcca42d374d1315becb96834ef70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include <ngx_config.h>

#include <ngx_conf_file.h>


extern ngx_module_t  ngx_events_module;
extern ngx_module_t  ngx_event_module;


extern ngx_module_t  ngx_http_module;
extern ngx_module_t  ngx_http_core_module;

extern ngx_module_t  ngx_http_write_filter_module;
extern ngx_module_t  ngx_http_output_filter_module;
extern ngx_module_t  ngx_http_header_filter_module;

extern ngx_module_t  ngx_http_index_module;
extern ngx_module_t  ngx_http_proxy_module;


ngx_module_t *ngx_modules[] = {

    /* events */

    &ngx_events_module,
    &ngx_event_module,

    /* http */

    &ngx_http_module,

    &ngx_http_core_module,
    &ngx_http_write_filter_module,
    &ngx_http_output_filter_module,
    &ngx_http_header_filter_module,

    /* &ngx_http_gzip_filter_module, */
    /* &ngx_http_range_filter_module, */
    /* &ngx_http_ssi_filter_module, */

    &ngx_http_index_module,
/*
    &ngx_http_proxy_module,
*/

    NULL
};