Comment 12 for bug 1262710

Revision history for this message
Valentin V. Bartenev (vbart) wrote :

You can use the "--help" configure argument to get a list of all available options. I've attached outputs for vanilla nginx 1.4.6 and 1.5.11.

The actual list of supported (optional and default) modules is follow in alphabetical order:

1. Default HTTP modules (built by default, but can be switched off by a "--without-*" parameter):

ngx_http_access_module
ngx_http_auth_basic_module
ngx_http_autoindex_module
ngx_http_browser_module
ngx_http_charset_module
ngx_http_empty_gif_module
ngx_http_fastcgi_module
ngx_http_geo_module
ngx_http_gzip_module
ngx_http_limit_conn_module
ngx_http_limit_req_module
ngx_http_map_module
ngx_http_memcached_module
ngx_http_proxy_module
ngx_http_referer_module
ngx_http_rewrite_module
ngx_http_scgi_module
ngx_http_split_clients_module
ngx_http_ssi_module
ngx_http_upstream_ip_hash_module
ngx_http_upstream_keepalive_module
ngx_http_upstream_least_conn_module
ngx_http_userid_module
ngx_http_uwsgi_module

2. Optional HTTP modules (need a "--with-*" parameter to be built):

ngx_http_addition_module
ngx_http_auth_request_module (since nginx 1.5.4)
ngx_http_dav_module
ngx_http_flv_module
ngx_http_geoip_module
ngx_http_gunzip_module
ngx_http_gzip_static_module
ngx_http_image_filter_module
ngx_http_mp4_module
ngx_http_perl_module
ngx_http_random_index_module
ngx_http_realip_module
ngx_http_secure_link_module
ngx_http_spdy_module
ngx_http_ssl_module
ngx_http_stub_status_module
ngx_http_sub_module
ngx_http_xslt_module

3. Optional mail proxy modules:

ngx_mail_imap_module
ngx_mail_pop3_module
ngx_mail_smtp_module
ngx_mail_ssl_module

I intentionally omitted the ngx_http_degradation_module module, because it currently is obsoleted and works well only on old BSD systems.

My suggestion is to have two packages, all shipped with only officially supported modules, but one with the "--with-debug" option enabled, and another one without debug. That is what we provide now in our repositories. It's very convenient to have identical nginx-debug package, because it helps a lot not only to debug bugs, but also it helps users to better understand how nginx works, and to solve configuration problems.