The nginx module parameters

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

Reprinted from

The nginx configuration parameter

Install the module

The Nginx module must select at compile time, module selection at runtime is not currently supported.

At compile time, the compiler options list can be provided through the./configure command --help run configuration scripts to view all support (including optional module).

The Nginx core module

The module is a must.

Name Explain
Main Configuration error log, process, authority etc.
Events The configuration of epoll, kqueue, select, poll etc.

The standard HTTP module

These modules are default were compiled into it, unless explicitly disable them by configure.

Name Explain Edition Disable option
Core The control port, location, error pages, aliases and other necessary configuration. --without-http
Access Client IP addresses allow / deny the request based on Http. --without-http_access_module
Auth Basic Basic HTTP certification. --without-http_auth_basic_module
Auto Index Automatic no index page directory file list. --without-http_autoindex_module
Browser " User-Agent" string. 0.4.3 --without-http_browser_module
Charset The Web page code. --without-http_charset_module
Empty GIF To generate a high 1 pixels, 1 pixels wide in memory GIF images, and providing services to the outside. 0.3.10 --without-http_empty_gif_module
FastCGI Provide support for FastCGI. --without-http_fastcgi_module
Geo The key value IP address; to set configuration parameters. 0.1.17 --without-http_geo_module
Gzip Support the use of Gzip compression response content. --without-http_gzip_module
Headers You can set any HTTP response headers.
Index Control over which files as the index page.
Limit Requests The client creates a connection limit frequency. 0.7.20 --without-http_limit_req_module
Limit Zone Define client and establish the maximum number of connections. Since 1.1.8 is no longer recommended, recommend the use of Limit Conn. 0.5.6 --without-http_limit_zone_module
Limit Conn The number of connections through the configuration parameters defining the maximum concurrent client. --without-http_limit_conn_module
Log You can customize the access log.
Map The key value set arbitrary configuration parameters on the way. 0.3.16 --without-http_map_module
Memcached Support Memcached. --without-http_memcached_module
Proxy The server proxy. --without-http_proxy_module
Referer RefererHTTP request header to filter requests based on. --without-http_referer_module
Rewrite The use of regular expressions are rewritten on request. --without-http_rewrite_module
SCGI Support SCGI protocol. 0.8.42 --without-http_scgi_module
Split Clients Based on certain conditions the client classification. 0.8.37 --without-http_split_clients_module
SSI Support of include server. --without-http_ssi_module
Upstream Support load balancing. --without-http_upstream_ip_hash_module (ip_hash directive only)
User ID Release the user ID cookie. --without-http_userid_module
uWSGI Support uWSGI protocol. 0.8.40 --without-http_uwsgi_module
X-Accel X-Sendfile module.

The optional HTTP module

The module must be compiled with configure explicitly set the option enabled the corresponding.

Name Explain Edition Enable the option
Addition Pages can append text. --with-http_addition_module
Degradation The remaining low memory on certain position request return 204 or 404 status code. 0.8.25 --with-http_degradation_module
Embedded Perl Allows the use of Perl in the configuration file. 0.3.21 --with-http_perl_module
FLV Support Flash video(Flash Streaming Video). 0.4.7 --with-http_flv_module
GeoIP Create a variable GeoIP binary files from the MaxMind information according to the. 0.8.6, 0.7.63 --with-http_geoip_module
Google Perftools The performance of support tool Google. 0.6.29 --with-google_perftools_module
Gzip Precompression Provides static file pre compression. 0.6.23 --with-http_gzip_static_module
Image Filter Support the use of Libgd to transform the picture. 0.7.54 --with-http_image_filter_module
MP4 Allow to perform MP4 addressing. 1.1.3, 1.0.7 --with-http_mp4_module
Random Index Allow directory randomization. 0.7.15 --with-http_random_index_module
Real IP Allow nginx as a back-end server. 0.3.8 --with-http_realip_module
Secure Link Allow the key protection for the specified file. 0.7.18 --with-http_secure_link_module
SSL Support HTTPS/SSL. --with-http_ssl_module
Stub Status Provides the ability to view server statistics. 0.1.18 --with-http_stub_status_module
Substitution Can replace the text in the page. --with-http_sub_module
WebDAV Support WebDAV penetration. 0.3.38 --with-http_dav_module
XSLT Allows the page using XSLT process. 0.7.8 --with-http_xslt_module

Mail module

Name Explain Configuration parameter
Core The Nginx can handle / agent IMAP, POP3, SMTP protocol. --with-mail
Auth The use of Nginx as a mail service for authentication.
Proxy Enable Nginx to agent IMAP, POP3, SMTP protocol.
SSL This module allows the POP3/IMAP/SMTP to use SSL/TLS. --with-mail_ssl_module

Third party modules and patches

Please refer to the catalogue of third party modules.

Reference resources

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Burke at February 18, 2014 - 2:26 AM