2002-09-07 06:14:25 -04:00
|
|
|
|
2002-12-27 04:27:47 -03:00
|
|
|
#include <ngx_config.h>
|
2003-06-03 11:42:58 -04:00
|
|
|
#include <ngx_core.h>
|
2002-09-11 11:18:33 -04:00
|
|
|
|
2002-12-15 03:25:09 -03:00
|
|
|
|
2003-06-03 11:42:58 -04:00
|
|
|
extern ngx_module_t ngx_errlog_module;
|
2003-05-16 11:27:48 -04:00
|
|
|
extern ngx_module_t ngx_events_module;
|
|
|
|
extern ngx_module_t ngx_event_module;
|
|
|
|
|
2003-05-19 12:39:14 -04:00
|
|
|
extern ngx_module_t ngx_select_module;
|
2003-05-20 11:37:55 -04:00
|
|
|
#if (HAVE_POLL)
|
|
|
|
extern ngx_module_t ngx_poll_module;
|
|
|
|
#endif
|
2003-05-19 12:39:14 -04:00
|
|
|
#if (HAVE_KQUEUE)
|
|
|
|
extern ngx_module_t ngx_kqueue_module;
|
|
|
|
#endif
|
2003-05-20 11:37:55 -04:00
|
|
|
#if (HAVE_DEVPOLL)
|
|
|
|
extern ngx_module_t ngx_devpoll_module;
|
|
|
|
#endif
|
2003-05-21 09:28:21 -04:00
|
|
|
#if (HAVE_AIO)
|
|
|
|
extern ngx_module_t ngx_aio_module;
|
|
|
|
#endif
|
2003-05-19 12:39:14 -04:00
|
|
|
|
2003-05-16 11:27:48 -04:00
|
|
|
|
2003-04-08 11:40:10 -04:00
|
|
|
extern ngx_module_t ngx_http_module;
|
|
|
|
extern ngx_module_t ngx_http_core_module;
|
2002-12-15 03:25:09 -03:00
|
|
|
|
2002-12-26 13:26:23 -03:00
|
|
|
extern ngx_module_t ngx_http_write_filter_module;
|
|
|
|
extern ngx_module_t ngx_http_output_filter_module;
|
2003-04-08 11:40:10 -04:00
|
|
|
extern ngx_module_t ngx_http_header_filter_module;
|
2002-09-07 06:14:25 -04:00
|
|
|
|
2003-06-02 11:24:30 -04:00
|
|
|
extern ngx_module_t ngx_http_chunked_filter_module;
|
|
|
|
extern ngx_module_t ngx_http_range_filter_module;
|
|
|
|
extern ngx_module_t ngx_http_charset_filter_module;
|
|
|
|
|
2002-12-26 13:26:23 -03:00
|
|
|
extern ngx_module_t ngx_http_index_module;
|
2003-05-27 08:18:54 -04:00
|
|
|
extern ngx_module_t ngx_http_static_module;
|
2003-04-08 11:40:10 -04:00
|
|
|
extern ngx_module_t ngx_http_proxy_module;
|
2002-12-26 13:26:23 -03:00
|
|
|
|
2003-06-02 11:24:30 -04:00
|
|
|
extern ngx_module_t ngx_http_log_module;
|
|
|
|
|
2002-12-26 13:26:23 -03:00
|
|
|
|
|
|
|
ngx_module_t *ngx_modules[] = {
|
2002-12-15 03:25:09 -03:00
|
|
|
|
2003-06-03 11:42:58 -04:00
|
|
|
/* core */
|
|
|
|
|
|
|
|
&ngx_errlog_module,
|
|
|
|
|
2003-05-16 11:27:48 -04:00
|
|
|
/* events */
|
|
|
|
|
|
|
|
&ngx_events_module,
|
|
|
|
&ngx_event_module,
|
|
|
|
|
2003-05-19 12:39:14 -04:00
|
|
|
&ngx_select_module,
|
2003-05-20 11:37:55 -04:00
|
|
|
#if (HAVE_POLL)
|
|
|
|
&ngx_poll_module,
|
|
|
|
#endif
|
2003-05-19 12:39:14 -04:00
|
|
|
#if (HAVE_KQUEUE)
|
|
|
|
&ngx_kqueue_module,
|
|
|
|
#endif
|
2003-05-20 11:37:55 -04:00
|
|
|
#if (HAVE_DEVPOLL)
|
|
|
|
&ngx_devpoll_module,
|
|
|
|
#endif
|
2003-05-21 09:28:21 -04:00
|
|
|
#if (HAVE_AIO)
|
|
|
|
&ngx_aio_module,
|
|
|
|
#endif
|
2003-05-19 12:39:14 -04:00
|
|
|
|
2003-05-16 11:27:48 -04:00
|
|
|
/* http */
|
|
|
|
|
2003-04-08 11:40:10 -04:00
|
|
|
&ngx_http_module,
|
2002-12-15 03:25:09 -03:00
|
|
|
|
2003-04-08 11:40:10 -04:00
|
|
|
&ngx_http_core_module,
|
2002-09-11 11:18:33 -04:00
|
|
|
&ngx_http_write_filter_module,
|
|
|
|
&ngx_http_output_filter_module,
|
2003-04-08 11:40:10 -04:00
|
|
|
&ngx_http_header_filter_module,
|
2002-12-10 15:05:12 -03:00
|
|
|
|
2003-06-02 11:24:30 -04:00
|
|
|
&ngx_http_chunked_filter_module,
|
2003-04-08 11:40:10 -04:00
|
|
|
/* &ngx_http_gzip_filter_module, */
|
2003-06-02 11:24:30 -04:00
|
|
|
&ngx_http_range_filter_module,
|
2003-04-08 11:40:10 -04:00
|
|
|
/* &ngx_http_ssi_filter_module, */
|
2003-06-02 11:24:30 -04:00
|
|
|
&ngx_http_charset_filter_module,
|
2002-12-10 15:05:12 -03:00
|
|
|
|
2003-04-08 11:40:10 -04:00
|
|
|
&ngx_http_index_module,
|
2003-05-27 08:18:54 -04:00
|
|
|
/* &ngx_http_static_module, */
|
|
|
|
/* &ngx_http_proxy_module, */
|
2002-12-26 13:26:23 -03:00
|
|
|
|
2003-06-02 11:24:30 -04:00
|
|
|
&ngx_http_log_module,
|
|
|
|
|
2002-09-07 06:14:25 -04:00
|
|
|
NULL
|
|
|
|
};
|